Dump HTML CSV using CSV?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Colmike9
    (>^_^)b
    • Dec 2011
    • 7230

    #1

    Dump HTML CSV using CSV?

    Hey

    How could I change a CSV and output to another CSV with html?

    For example, if I have a csv in this form:
    URL|Title|img|descr

    But I want to output it like this:
    <a href="[URL]" title="[Title]><img src="[img]" /> | [descr]

    How could I do this without typing something custom in Java or anything like that?

    Thanks
    Join the BEST cam affiliate program on the internet!
    I've referred over $1.7mil in spending this past year, you should join in.
    I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
  • lucas131
    ¯\_(ツ)_/¯
    • Aug 2004
    • 11475

    #2
    textpad and macro action, easy to use, learn it once and thank me in future thousand times

    Comment

    • Colmike9
      (>^_^)b
      • Dec 2011
      • 7230

      #3
      Thanks, I'll give that a try
      Join the BEST cam affiliate program on the internet!
      I've referred over $1.7mil in spending this past year, you should join in.
      I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

      Comment

      • fris
        Too lazy to set a custom title
        • Aug 2002
        • 55679

        #4
        Originally posted by Colmike7
        Hey

        How could I change a CSV and output to another CSV with html?

        For example, if I have a csv in this form:
        URL|Title|img|descr

        But I want to output it like this:
        <a href="[URL]" title="[Title]><img src="[img]" /> | [descr]

        How could I do this without typing something custom in Java or anything like that?

        Thanks
        could do it via php

        example links.txt

        Code:
        http://www.google.com|google|http://i.imgur.com/uwti0.jpg|google search engine
        php

        Code:
        <?
        
        $linkfile = dirname(__FILE__). "/links.txt";
        $links = file($linkfile);
        $result = array();
        
        for ($i=0; $i<count($links); $i++) {
          $link = explode("|", $links[$i]);
          $result[] = '<a href="' . $link[0] . ' title="' . $link[1] . '"><img src="'.$link[2].'"></a> <span>'.trim($link[3]).'</span>';
          echo $result[$i];
        }
        
        ?>
        final output

        Code:
        [fris@fris ~]$ php test.php
        <a href="http://www.google.com title="google"><img src="http://i.imgur.com/uwti0.jpg"></a> <span>google search engine</span>
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          this help any?
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • just a punk
            So fuckin' bored
            • Jun 2003
            • 32393

            #6
            Originally posted by Colmike7
            Hey

            How could I change a CSV and output to another CSV with html?

            For example, if I have a csv in this form:
            URL|Title|img|descr

            But I want to output it like this:
            <a href="[URL]" title="[Title]><img src="[img]" /> | [descr]

            How could I do this without typing something custom in Java or anything like that?

            Thanks
            This free app will do the trick: http://www.fhgstore.com/wmtools.html#FHG2HTML

            Last edited by just a punk; 03-25-2012, 01:38 PM.
            Obey the Cowgod

            Comment

            • Colmike9
              (>^_^)b
              • Dec 2011
              • 7230

              #7
              Originally posted by fris
              this help any?
              Thanks. It did but CyberSEOs suggestion is exactly what I'm looking for..
              Join the BEST cam affiliate program on the internet!
              I've referred over $1.7mil in spending this past year, you should join in.
              I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

              Comment

              • Colmike9
                (>^_^)b
                • Dec 2011
                • 7230

                #8
                Originally posted by CyberSEO
                This free app will do the trick: http://www.fhgstore.com/wmtools.html#FHG2HTML

                YES! Thank you!
                Join the BEST cam affiliate program on the internet!
                I've referred over $1.7mil in spending this past year, you should join in.
                I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                Comment

                • bns666
                  Confirmed Fetishist
                  • Mar 2005
                  • 11554

                  #9
                  useful tool
                  CAM SODASTRIPCHAT
                  CHATURBATEX LOVE CAM

                  Comment

                  • Dirty D
                    Confirmed User
                    • May 2002
                    • 4044

                    #10
                    Yep, we have used this tool for a few years.
                    Highly recommended.

                    Dirty D - ICQ #1326843 - $1 Million Dollars of Bonus Money - 8,000+ FHG!
                    Glory Hole Girlz - Crack Whore Confessions - Tampa Bukkake - Slut Wife Training - Fuck a Fan
                    Electricity Play - Porn Video Drive - Theater Sluts - Skunk Riley - Ukraine Amateurs - Strapon Sessions

                    Comment

                    • just a punk
                      So fuckin' bored
                      • Jun 2003
                      • 32393

                      #11
                      You are welcome!
                      Obey the Cowgod

                      Comment

                      • martinsc
                        Too lazy to set a custom title
                        • Jun 2005
                        • 27047

                        #12
                        Originally posted by CyberSEO
                        This free app will do the trick: http://www.fhgstore.com/wmtools.html#FHG2HTML

                        nice....
                        Make Money

                        Comment

                        Working...