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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-03-2009, 06:51 AM   #1
selena
Confirmed User
 
selena's Avatar
 
Join Date: Aug 2004
Location: On The Edge
Posts: 7,994
Is there a free tool or way to do this?

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
selena is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2009, 07:51 AM   #2
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,252
Quote:
Originally Posted by selena View Post
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?

http://magpierss.sourceforge.net/
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2009, 12:14 PM   #3
selena
Confirmed User
 
selena's Avatar
 
Join Date: Aug 2004
Location: On The Edge
Posts: 7,994
Quote:
Originally Posted by sarettah View Post
I've downloaded that and will check it out. Thanks hon!
__________________
~
Doer of Things at
MetArtMoney
Where Flawless Beauty Meets Art
~The MetArt Network ~
selena.delgado9
selena is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2009, 01:10 PM   #4
tomud
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
tomud is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-03-2009, 01:36 PM   #5
Scootermuze
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>");
}
}
?>
Scootermuze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2009, 06:22 PM   #6
bns666
Confirmed Fetishist
 
bns666's Avatar
 
Industry Role:
Join Date: Mar 2005
Location: Fetishland
Posts: 11,545
need something like this myself too...
__________________
CAM SODASTRIPCHAT
CHATURBATEX LOVE CAM
bns666 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2009, 07:11 PM   #7
garce
Confirmed User
 
garce's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
Quote:
Originally Posted by tomud View Post
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
Works for me.
garce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.