rss2 newsfeeds hack?
lalawren 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: rss2 newsfeeds hack?
lalawren
OP
0
From: -
From: -
rss2 newsfeeds hack?
I had a feeling I wasn't asking the right question!
That worked! thank you!
I had a feeling I wasn't asking the right question!
That worked! thank you!
1 Re: rss2 newsfeeds hack?
Philipp
From: Austria
Administrator
1342From: Austria
rss2 newsfeeds hack?
This was a misunderstanding. I thought that you want add RSS 2.0 feeds to your website and not importing RSS 2.0 from other websites
The current news import feature is fully compatible with RSS 2.0. I assume that allow_url_fopen is disabled in your php.ini. You need to enable this option to allow fopen accessing external websites.
This was a misunderstanding. I thought that you want add RSS 2.0 feeds to your website and not importing RSS 2.0 from other websites
The current news import feature is fully compatible with RSS 2.0. I assume that allow_url_fopen is disabled in your php.ini. You need to enable this option to allow fopen accessing external websites.
1 Re: rss2 newsfeeds hack?
lalawren
OP
0
From: -
From: -
rss2 newsfeeds hack?
I FTP'd both files up to the server as ASCII and I'm still getting
"No XML/RSS newsfeed found. You need to enter the full URL to the newsfeed (e.g. http://www.site/xml/backend.php)"
when i try to add a new rss news feed from another site - (such as http://feeds.smartmoney.com/smartmoney/headlines) - to import news into the news queue
I appreciate your patience! - Is there anything else to try?
I FTP'd both files up to the server as ASCII and I'm still getting
"No XML/RSS newsfeed found. You need to enter the full URL to the newsfeed (e.g. http://www.site/xml/backend.php)"
when i try to add a new rss news feed from another site - (such as http://feeds.smartmoney.com/smartmoney/headlines) - to import news into the news queue
I appreciate your patience! - Is there anything else to try?
1 Re: rss2 newsfeeds hack?
Philipp
From: Austria
Administrator
1342From: Austria
rss2 newsfeeds hack?
I upload a zip with both templates here:
http://www.esselbach.com/scripts/rss2.zip
I upload a zip with both templates here:
http://www.esselbach.com/scripts/rss2.zip
1 Re: rss2 newsfeeds hack?
lalawren
OP
0
From: -
From: -
rss2 newsfeeds hack?
It's still not working.
I copied the code into a text editor (TextPad) to get ride of any hidden code or spaces, then re-pasted it into the template editor
Could there be another fix?
Thanks!
It's still not working.
I copied the code into a text editor (TextPad) to get ride of any hidden code or spaces, then re-pasted it into the template editor
Could there be another fix?
Thanks!
1 Re: rss2 newsfeeds hack?
Philipp
From: Austria
Administrator
1342From: Austria
rss2 newsfeeds hack?
Sound like that one of the two templates have a white space character immediately after $EST_TEMPLATE = <<<TEMPLATE which is causing a PHP error.
Sound like that one of the two templates have a white space character immediately after $EST_TEMPLATE = <<<TEMPLATE which is causing a PHP error.
1 Re: rss2 newsfeeds hack?
lalawren
OP
0
From: -
From: -
rss2 newsfeeds hack?
I changed the templates as noted, then tried the two newsfeeds. I keep getting this error:
No XML/RSS newsfeed found. You need to enter the full URL to the newsfeed (e.g. http://www.site/xml/backend.php)
I changed the templates as noted, then tried the two newsfeeds. I keep getting this error:
No XML/RSS newsfeed found. You need to enter the full URL to the newsfeed (e.g. http://www.site/xml/backend.php)
1 Re: rss2 newsfeeds hack?
Philipp
From: Austria
Administrator
1342From: Austria
rss2 newsfeeds hack?
This could be done by changing the following two templates:
xml_header
xml_output
This could be done by changing the following two templates:
xml_header
<?php
global $insert;
$EST_TEMPLATE = <<<TEMPLATE
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>$insert[site_name]</title>
<link>$insert[site_url]/index.php</link>
<description>Last 20 items on $insert[site_name]</description>
<generator>Esselbach Storyteller CMS System</generator>
TEMPLATE;
?>
xml_output
<?php
global $insert;
$insert[story_time] = date("r",strtotime($insert[story_time]));
$EST_TEMPLATE = <<<TEMPLATE
<item>
<title>$insert[story_title]</title>
<link>$insert[story_link]</link>
<description>$insert[story_text]</description>
<pubDate>$insert[story_time]</pubDate>
</item>
TEMPLATE;
?>
Hi!
I have feeds I'd like to ad to retirement-retirement.com
however, most are in rss 2.0 now
is there a work around to get the feed to work?
here's sample links to various feeds:
http://feeds.smartmoney.com/smartmoney/headlines
http://www.fatwallet.com/rssfeed.php?c=52&deals=50