Page 1 of 1

RSS adding feature to blog

Posted: Wed Aug 05, 2009 2:28 pm
by gilbertmikey
Hi Everyone!

Newbie here :D can someone give me a little advice please. I'm looking for a tutorial on this task and can't find it anywhere. Please help!

I have a blog with a members area. I'm want to allow my members the ability to add rss feeds using a simple form

example:

<div id="admin">

<p>Enter URL to RSS Feed <input type="text" id="rssFeed"/><input type="button" value="Add"/></p>

</div>

I need the URL entered in #rssFeed to create a tab which displays the feed. I already have the following:

database created with a users table and rssFeeds table
login is working
php script performing db call to retrieve users rss feeds using $_SESSION['userId'] after login is verified
the feed is retrieved using a curl_init()
its formatted using a new DOMDocument() and xslt style sheet
finally displayed using an $htmlOutput

Does this makes sense or have I lost my mind?? :crazy:

So my question is...How do I get the user input #rssFeed into a brand new tab displaying the rss feed from http://example_of_rss_feed.com... Thanks everyone for your help!

Re: RSS adding feature to blog

Posted: Wed Aug 05, 2009 4:46 pm
by Jonah Bron
I'm slightly comfused. What parts do you have working, and what parts have you not figured out?