SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict proph3t's Avatar
    Join Date
    Jun 2004
    Location
    Arizona
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XML(RSS) Into A Textpattern Post

    I have an RSS feed that is meant to be used for webmasters on their websites, yet I am new to dealing with feeds and need to know the following. How do I make the new posts in the RSS feed automatically post onto my website whenever its updated?

    Is there a program for this or some way through textpattern?

  2. #2
    SitePoint Wizard silver trophy someonewhois's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    6,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Download magpie RSS and then you can just use their examples, look at the arrays it outputs, and then you'll be able to just insert the data into the database appropriately. That is, assuming, you know PHP. If you don't, I think you're out of luck.

  3. #3
    SitePoint Addict proph3t's Avatar
    Join Date
    Jun 2004
    Location
    Arizona
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I can get most of the code besides the actual parsing of the document working. I'm not the best at PHP, so what would I use to take from certain tags and print it onto the page?

    edit: Got the PHP to output it, still have no clue how to insert it into TXP.

    Also, is there any way to integrate this with textpattern?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •