|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Aug 2004
Location: On The Edge
Posts: 7,994
|
What I want to do is take a sponsor's rss feed link, and make the feed results appear on a php page. I don't want to use javascript to do it.
I found this site, and tested the free version. It does what I want. Their upgrade lets you remove their link, and other things that I did not really study at 2:00 a.m http://www.rssinclude.com/ Of course I'd rather do it for free, if there is a way to do so. Anyone have any suggestions?
__________________
~ Doer of Things at MetArtMoney Where Flawless Beauty Meets Art ~The MetArt Network ~ selena.delgado9 |
|
|
|
|
|
#2 | |
|
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,252
|
Quote:
http://magpierss.sourceforge.net/
__________________
All cookies cleared! |
|
|
|
|
|
|
#3 | |
|
Confirmed User
Join Date: Aug 2004
Location: On The Edge
Posts: 7,994
|
Quote:
__________________
~ Doer of Things at MetArtMoney Where Flawless Beauty Meets Art ~The MetArt Network ~ selena.delgado9 |
|
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Jun 2002
Location: $$$
Posts: 7,993
|
or maybe :
http://www.feedforall.com/download.htm RSS2HTML - free PHP script for dipslaying RSS feeds using html (u can save to static files) Tomud
__________________
![]() AFF – up to $1.50 per free join, $130 per order ! NASTYDOLLARS - 35$ PPS ! Free hosted galleries ! ADULTDATELINK – $42 PPS, 50% REV ! DATINGGOLD - 100% !!! REV, $4 per email ! Adult Sponsors Reviews – take a look at the best adult programs ! Epassporte Sponsors ICQ: 160168237 |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Dec 2001
Posts: 4,513
|
Just key in the rss feed url, and the max items (toward the bottom of the file)..
I use it with numerous feeds.. most work fine for me.. <?php set_time_limit(0); $file = "RSS FEED URL"; $rss_channel = array(); $currently_writing = ""; $main = ""; $item_counter = 0; function startElement($parser, $name, $attrs) { global $rss_channel, $currently_writing, $main; switch($name) { case "RSS": case "RDF:RDF": case "ITEMS": $currently_writing = ""; break; case "CHANNEL": $main = "CHANNEL"; break; case "IMAGE": $main = "IMAGE"; $rss_channel["IMAGE"] = array(); break; case "ITEM": $main = "ITEMS"; break; default: $currently_writing = $name; break; } } function endElement($parser, $name) { global $rss_channel, $currently_writing, $item_counter; $currently_writing = ""; if ($name == "ITEM") { $item_counter++; } } function characterData($parser, $data) { global $rss_channel, $currently_writing, $main, $item_counter; if ($currently_writing != "") { switch($main) { case "CHANNEL": if (isset($rss_channel[$currently_writing])) { $rss_channel[$currently_writing] .= $data; } else { $rss_channel[$currently_writing] = $data; } break; case "IMAGE": if (isset($rss_channel[$main][$currently_writing])) { $rss_channel[$main][$currently_writing] .= $data; } else { $rss_channel[$main][$currently_writing] = $data; } break; case "ITEMS": if (isset($rss_channel[$main][$item_counter][$currently_writing])) { $rss_channel[$main][$item_counter][$currently_writing] .= $data; } else { $rss_channel[$main][$item_counter][$currently_writing] = $data; } break; } } } $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); if (!($fp = fopen($file, "r"))) { die("could not open XML input"); } while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); } } xml_parser_free($xml_parser); // output HTML if (isset($rss_channel["ITEMS"])) { if (count($rss_channel["ITEMS"]) > 0) { for($i = 0;$i < ENTER MAX ITEMS HERE;$i++) { if (isset($rss_channel["ITEMS"][$i]["LINK"])) { print ("\n<div class=\"itemtitle\"><table><tr><td><font size=\"2\"><B><a href=\"" . $rss_channel["ITEMS"][$i]["LINK"] . "\">" . $rss_channel["ITEMS"][$i]["TITLE"] . "</a></B></div>"); } else { print ("\n<div class=\"itemtitle\">" . $rss_channel["ITEMS"][$i]["TITLE"] . "</div>"); } print ("<div class=\"itemdescription\">" . $rss_channel["ITEMS"][$i]["DESCRIPTION"] . "</font></td></tr></table></DIV>"); } } else { print ("<b>There are no articles in this feed.</b>"); } } ?> |
|
|
|
|
|
#6 |
|
Confirmed Fetishist
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,545
|
need something like this myself too...
|
|
|
|
|
|
#7 | |
|
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
|
Quote:
|
|
|
|
|