Fedora Linux Support Community & Resources Center
  #1  
Old 28th February 2012, 02:08 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600
linuxfedorafirefox
Resources ('solutions') regarding RSS implention to php?

Heyas

I want to include a few rss feeds to my homepage.
So far i had a try with
http://www.rss-specifications.com/rss-reader-linux.htm (i'm quite suspicious about this site)
http://www.the-art-of-web.com/php/rss/
http://www.the-art-of-web.com/php/feed-reader/ (atom)
And a few german ones.

So far, they have either errors in code, or return to be not able to read the feeds, but reporting the proper url.
Feeds i had tried:
* http://www.ipv6router.de/feed.xml
* http://sourceforge.net/p/seasc/blog/feed

Would someone happen to have some quick n' easy code snippets or a link where to get such?

Thank you in advance
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #2  
Old 28th February 2012, 02:52 PM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,916
linuxfirefox
Re: Resources ('solutions') regarding RSS implention to php?

'yum install php-pear-XML-RSS' not good enough?
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #3  
Old 28th February 2012, 06:52 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600
linuxfedorafirefox
Re: Resources ('solutions') regarding RSS implention to php?

Not sure, i'll have a look at it.
As i'm not my own host, i was looking for a script to upload.

Going to have a look at this now, thank you.

EDIT:
Having no experience with RSS nor XML, should this example work?
http://pear.php.net/manual/en/packag...ss.example.php

And if so,where is the package i just had installed ?
Hope i 'just' have to upload that RSS.php in a subfolder called XML on the webspace?

EDIT2:
found: /usr/share/pear/XML/RSS.php

---------- Post added at 04:54 PM ---------- Previous post was at 04:23 PM ----------

Must have done something wrong...

0. Installed: # yum install php-pear-XML-RSS
1. Uploaded /usr/share/pear/* to sea.hostingsociety.com/data/pear/*
2. Edited require_once's to match remote path "./data/pear/" and "./data/pear/XML/"
3. copy pasted the example code and done the required changes.
4. I just get 'the same' error message:
Code:
Warning: require_once(./data/pear/PEAR.php): failed to open stream: No such file or directory in /var/www/e-rat/html/data/pear/XML/Parser.php on line 55 
Fatal error: require_once(): Failed opening required './data/pear/PEAR.php' (include_path='.:/php/includes:/var/www/cmss') in /var/www/e-rat/html/data/pear/XML/Parser.php on line 55
Any suggestions?
Going to remove the changed require_one's and check if thats better.. dont think so but anyway...

---------- Post added at 07:52 PM ---------- Previous post was at 04:54 PM ----------

Bleh, dont think they let me install pear/xml on the hosting webspace.
Had a try with $curl but that one's disabled for security reasons

EDIT:
I let this be for a while, would have been cool to find something thats easy to apply.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb

Last edited by sea; 28th February 2012 at 06:55 PM.
Reply With Quote
Reply

Tags
implention, php, resources, rss, solutions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Useful DNS resources? st89 Servers & Networking 5 1st May 2010 01:26 PM
LAN Resources NFS Fedora 9 Gooddy Using Fedora 1 22nd October 2008 10:07 AM
monitoring resources drobbins Servers & Networking 3 3rd May 2008 02:02 PM
Resources New Fedora User Programming & Packaging 2 12th April 2008 11:12 PM


Current GMT-time: 23:53 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat