XML Trasformation help

Discussion in 'XML & RSS' started by newpbc, May 31, 2008.

  1. #1
    I've been playing round for hours now trying transform the data from this feed to a simple tables in a website.

    http://www.ipoker.com/next-tournaments/titanpoker-next-tournaments.XML

    I carnt for the life of me figure out whats going wrong


    Was just one of many error meassages i get I've tried loads of code snipets but to no joy anyone any ideas what im doing wrong
    is there something wrong with the feed
     
    newpbc, May 31, 2008 IP
  2. DanPonjican

    DanPonjican Active Member

    Messages:
    268
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #2
    I would use a script like this one that uses an HTML template and then just embed the content in the template in tables where you want it to appear.

    RSS2HTML Script

    Here is what your template format should be:

    <HTML>
        <HEAD>
            <meta http-equiv="content-type" content="text/html;charset=utf-8">
            <TITLE>
                ~~~FeedTitle~~~
            </TITLE>
        </HEAD>
        <BODY>
            <H1>~~~FeedTitle~~~</H1>
            <H2>~~~FeedDescription~~~</H2>
            <BR>
            <TABLE width="100%">
                ~~~BeginItemsRecord~~~
                <TR>
                    <TD>
                        ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~
                    </TD>
                </TR>
                <TR>
                    <TD>
                        <B><A href="~~~ItemLink~~~">~~~ItemTitle~~~</A></B>
                    </TD>
                </TR>
                <TR>
                    <TD>
                        ~~~ItemDescription~~~
                        <BR>
                    </TD>
                </TR>
                ~~~EndItemsRecord~~~
            </TABLE>
        </BODY>
    </HTML>
    Code (markup):
     
    DanPonjican, Jun 3, 2008 IP
  3. modivilla

    modivilla Banned

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    what is XML...never heard of it...i am new

    ------------------------------------------------
    Check out our newest FREE
    Internet Marketing resource at
    http://www.YourInternetMarketingSites.com
    ---------------------------------------------------
     
    modivilla, Jun 7, 2008 IP
  4. newpbc

    newpbc Active Member

    Messages:
    307
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Extensible Markup Language http://www.w3.org/XML/

    RSS2HTML Script is a good script only works with RSS formated feeds though need something a bit more flexible other people do this on there site must be a way
     
    newpbc, Jun 7, 2008 IP
  5. Dayton Internet Marketing

    Dayton Internet Marketing Peon

    Messages:
    55
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have a script email me at and i will send it to you, You can see it in action at www dot shnizzy dot com ,,,,,, I display yahoo news on the site its real cool but there is alot to it it will work with any type of server software which is freaking great...
     
    newpbc likes this.