Mutilated1 wrote:
@kwezi - if you're still having problems with the lines that are supposed to write the cache file, you can just delete them if you want. If you're getting a white screen with text on it at all, you could have deleted something you shouldn't.
I replaced the text in the script and the same error is there.....M! can you show me what exactly delete?
@SR your explanation seems probable but the files are CHMODed to 775?
Kwezi,
You don't want to chmod the files to 775, but the directory which they are in.
Today's article: A Unique Look at Adwords Advertising
Nope...put it into the page that you want the feeds to ultimately appear on...
Today's article: A Unique Look at Adwords Advertising
Member
From: Sydney, Australia
Registered: 2004-10-23
Posts: 593
I've been thanked 0 times.
Offline
I really wish I had the tiniest clue what you people are talking about.... I really do.
What's a 'cache' (other than a little hideaway of goodies - usually 'illgotten')?
(Don't worry about answering until you get these more serious technical problems sorted out, otherwise we'll gum up the works and confuse things for everyone).

I cried because I had no shoes - until I saw a man who had no feet...
Wizard of Oz wrote:
What's a 'cache' (other than a little hideaway of goodies - usually 'illgotten')?
Well, its actually sort of like that - a little hideaway. Cache, in this case, is a locally stored copy of a page. In other words, instead of having the script go out, download the RSS feed, parse the code, then create the page, we create the page once, make a temporary file of it, and then serve that page up when asked for.
It saves on resources and makes the pages faster.
Today's article: A Unique Look at Adwords Advertising
I get the error
Code:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/.jazzmen/kenleyarai/sharpfox.com/rss.php on line 54
Warning: file_get_contents(http://www.site-reference.com/xml.php?c=all) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/.jazzmen/kenleyarai/sharpfox.com/rss.php on line 54
No news at present, please check back later.
Member
From: Pell City, Alabama USA
Registered: 2004-11-17
Posts: 2084
I've been thanked 5 times.
Offline
URL file-access is disabled in the server configuration
That means that you will have to talk to your host and get them to enable URL file access in your PHP installation.
TombOfTheMutilated.NET - Destroying The Minds of America's Youth Since 2001
Member
From: Pell City, Alabama USA
Registered: 2004-11-17
Posts: 2084
I've been thanked 5 times.
Offline
Wow travelagent - that google news source is pretty cool, you can get news on any subject.
Check it out...
http://www.tombofthemutilated.net/?cpg=ccwebnews
TombOfTheMutilated.NET - Destroying The Minds of America's Youth Since 2001
Member
From: Pell City, Alabama USA
Registered: 2004-11-17
Posts: 2084
I've been thanked 5 times.
Offline
OK guys, the reason that all 6 feeds are not showing is because the simple reader in the example shows only the entries from the first feed.
If you want to show entries from multiple feeds on the same page look at the advanced reader ( example 3) and the source code for the page that uses it ( example 4 ). Those two examples are the code that makes this page ( http://www.scary-software.com/RSS/ ) which you can see has multiple feeds on it.
I will try and update the instructions on the demo page later today
TombOfTheMutilated.NET - Destroying The Minds of America's Youth Since 2001
Member
From: Ohio USA
Registered: 2004-11-17
Posts: 670
I've been thanked 0 times.
Offline
Try this, this generates the php (or java if you want), and is the easiest thing I've ever done. If your server allows php this won't let you down.
http://rssfeedreader.com/
Member
From: Fort Worth, TX
Registered: 2006-04-05
Posts: 15
I've been thanked 0 times.
Offline
Scarlett wrote:
Yes...as I mentioned I have other php pages on the site...ie., http://www.all-about-planters.com/signup.php
Is it a PHP version issue?
No, I believe you have simply copied the code from his article into a WYSIWYG editor, and it filled in all the < with < and the > with > and the same with all the other symbols to make it web-page-viewable. Right now it's a webpage that is in html...go view the source of your page in your original links.
Copy his code to Notepad, save as a .php file (by selecting File Type > All Files), and put it to your server.
Member
From: Fort Worth, TX
Registered: 2006-04-05
Posts: 15
I've been thanked 0 times.
Offline
A simpler way (relatively speaking) to post multiple feeds (especially in different parts of the page) could be to simply use
Code:
include('rss_reader_page.php?feedid=1');Or some other feed array number instead of 1 that you want to pull feeds from.
The same goes for linking to the source (if you should decide you want to do that for some reason: http://my_site_name.com/rss_reader_page.php?feedid=2
I'm still looking over TA's problems, and other people's problems to see if I might be able to provide some insite.
Can any one tell me why so many people advertise using RSS feeds to get better search engine rankings and fresh content? RSS is absolutly useless for generating content that search engines can read. When will people get this?
I know this thread is about converting RSS to html but it seems to be hit and miss. I know of only one program that is supposed to do this. It is called RSS Equalizer. I have seen a site that uses this to convert the feeds and when you view the cached text on the site the feed actually shows up, so the search engines will read it.
Has any one ever used this program with any success. The soft ware isn't that expensive so if it actually works do you think its worth buying?
I have debated doing this for some time but need to be sure that it will stand up to the test of time.
Any thoughts?
Bob
Member
From: Ohio USA
Registered: 2004-11-17
Posts: 670
I've been thanked 0 times.
Offline
blackjava wrote:
Can any one tell me why so many people advertise using RSS feeds to get better search engine rankings and fresh content? RSS is absolutly useless for generating content that search engines can read. When will people get this?
I know this thread is about converting RSS to html but it seems to be hit and miss. I know of only one program that is supposed to do this. It is called RSS Equalizer. I have seen a site that uses this to convert the feeds and when you view the cached text on the site the feed actually shows up, so the search engines will read it.
Has any one ever used this program with any success. The soft ware isn't that expensive so if it actually works do you think its worth buying?
I have debated doing this for some time but need to be sure that it will stand up to the test of time.
Any thoughts?
Bob
I don't think you're keeping up with the thread. RSS displayed in php turns into HTML so the engines can read it. So that's what this whole thread is about. He could easily use a java code and not get the RSS searched. He wouldn't be having all this trouble either. I'm certain RSS Equalizer uses .php to change the feed to HTML.
I realize this thread is about converting the RSS to HTML, but it seems just about every one here is having trouble with the code.
That's why I'm wondering if using a proven software isn't a better way to go.
I don't have the software yet and only know of one person who is using it. I've seen her feeds on the site and they do show up in the Cached text.
But I'd like more than one opinion on the software. Are you guys familiar with it?
Bob
This thread might be a bit misleading because only those with problems are posting it. The script has been exposed to thousands of people, so given that only a few people are reporting problems, that should be fairly encouraging...
Today's article: A Unique Look at Adwords Advertising
Member
From: Pell City, Alabama USA
Registered: 2004-11-17
Posts: 2084
I've been thanked 5 times.
Offline
blackjava wrote:
I realize this thread is about converting the RSS to HTML, but it seems just about every one here is having trouble with the code.
That's why I'm wondering if using a proven software isn't a better way to go.
I don't have the software yet and only know of one person who is using it. I've seen her feeds on the site and they do show up in the Cached text.
But I'd like more than one opinion on the software. Are you guys familiar with it?
Bob
Bob, I'm using it on several of my sites.
Certainly there are other solutions, and my feelings won't be hurt at all if anyone wants to do it another way - in fact if you want to change my code around and do it completely different thats fine too.
But, the program does work, it creates HTML from a feed, and once you get the install problems worked out putting a feed in your layout is very easy.
@Neo - the example you are posting probably will not work. I think it will only show the first feed. If you use the simple reader - you are limited to one feed per page, which feed you choose is up to you and you select it with the feedid= parameter as you are showing.
The simple reader is just meant to be a demo to show someone how the code works without getting into too much programming.
If you want to put multiple feeds on a page use the advanced reader as in examples 3 and 4.
TombOfTheMutilated.NET - Destroying The Minds of America's Youth Since 2001
Thanks Neo...I am stepping up to accept Bonehead of the Day award.
Member
From: Fort Worth, TX
Registered: 2006-04-05
Posts: 15
I've been thanked 0 times.
Offline
@ M1
Actually, sir, as I put in post #125, the link http://www.the-spot.net/blot/test.php shows that your simple reader can be called multiple times, using the include() function for each of the feedid= urls. If you click the link, you'll see all the entries from http://thepizzy.net/blog?cat=17 first (of which are two), then you'll see the next 5 entries from the entire blog at http://thepizzy.net/blog and then you'll see the last 5 entries are the newest 5 of http://thepizzy.net/bluejournal . (Links provided for comparison and reference to the feed page, test.php )
This is not to discount your work on Example 3 and 4, but to show it can be done using the simple-reader as well.
Member
From: Wilmington, N.C.
Registered: 2006-04-05
Posts: 14
I've been thanked 0 times.
Offline
hey guys...first I'd like to say thanks for the code...been looking for something like this and it seems to work out great. I am new to PHP and I am having a slight problem with setting this up. The feeds show up fine on my site but some of the headlines are matched with the wrong descriptions....you can see my page here: http://eltaito.com/news.php...I'm sure its something supid I'm doing or maybe even the wasy the rss feed itself is set up (the newsvine feed on my site works fine...its the BBC and Wired.com ones that are slightly off)....anyways..any help would be appreciated...thanks
edit: just ignore the retarded formatting/lay-out of the page
I was just messing around with colors and what not.....
Its a funny time to learn to swim when you start to drown.
| Never |


