Hi All, Right i havent a clue when it comes to rss unfortunatly but i really want to learn how to display feeds directly on to my page. thing is ive seen some examples via google and it all looks so complicated, and i dont know how to extract the data i want can someone help me understand this and get the feeds on my site. i intent on having several feeds stored in a database and then depending on which page is viewed a specific feed is shown. here is one of the links to a feed i intend to use http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wpa/MRSS/topsongs/sf=143444/limit=25/rss.xml?partnerId=2003&TD_PARAM=http%3A%2F%2Fclkuk.tradedoubler.com%2Fclick%3Fp%3D23708%26a%3D1515427%26url%3D but after this i am lost lol. please can all help be explained so a dimwit like myself can understand many thanks kk
Feeds can be, and are, used to great benefit on web pages. Refer to: All about feed creation and use You can check out how I use an example RSS (RDF/XML) Feed on my Web Authoring References & Resources site (sig block below). James
hi guys thanks for your replies, these are not my own feed that i want to display but ones from other sources. thanks James i will check out the link you gave me cheers Luke
feedburner is another option to make custom URL of feed like www.feedburner.com/ something you like or make your site url short via htaccess rewriting
hi all thanks for your replies, i managed to get some feeds working using define("MAGPIE_INPUT_ENCODING", "UTF-8"); define("MAGPIE_OUTPUT_ENCODING", "UTF-8"); define("MAGPIE_CACHE_DIR", "./magpierss/cache"); define("MAGPIE_CACHE_ON", 1); define("MAGPIE_CACHE_AGE", 3600); include_once("./magpierss/rss_fetch.inc"); //RSS NEWS FEED SECTION $rss = fetch_rss(\game.xml); $loop_count = 1; foreach ($rss->items as $item){ $href = $item['productUrl']; $title = $item['name']; $ref_date = $item['pubdate']; $data = $item['imageUrl']; echo "<br />"; echo "<span style='font-size: 18px; font-family: Arial Black; color: black;'><a href=\"$href\" target='_blank'><u>$title</u></a></span>"; echo "<span style='font-size:14px; font-family:Times New Roman; color:black;'>$data</span><br />"; PHP: this is working fine for urls but i have several xml files on my pc that i have downloaded but for some reason they wont show up on my site, ive set the feed location as $rss = fetch_rss(\game.xml); as the file is in the same folder as my website but nothing is displayed anyone have any ideas cheers Luke