UBB.Dev
Hey Gang,

just thought I'd share... I had a desire to include a news feed in one of my custom pal boxes... so, here is my modified custombox3pal.php. All you really have to do, is replace the .rss URL with the one you want to include and let it know whether or not to show the Article Descriptions....

Let me know if you have any questions! You can see it in the middle column on the front page of my site.

Attached File
103732-custombox3pal.zip  (271 downloads)
works well. For germany you can try this URL as feed:
http://www.spiegel.de/schlagzeilen/rss/0,5291,,00.xml
Information for this URL: http://www.spiegel.de/dertag/0,1518,271804,00.html

Question: will this box update by time like the shoutbox or just while reload the whole page ? If updating automatic, wich time between 2 updates ?

You read my mind. Today I start to find a newsticker to display it in TopNews Hack from Josh, but this also nice
It does not automatically refresh itself or the page. It will reload when the page is refreshed or reloaded.

Anyway, glad it is of use!
Thanks for sharing.
No problem... Slowly, but surely, I'm finding more time for my site... hopefully, that means I'll be finding more stuff to share. We'll see!
can you try out this feed ? : http://www.rpgdot.com/team/rss/rss0.xml

Url to homepage: http://www.rpgdot.com/index.php?hsaction=30

Its a V1.0 RSS and is not show up with your script.
okay... seems to be an issue with the parser... I was able to integrate this one (available under GNU License) http://magpierss.sourceforge.net quite easily... I did not take any time right now (not having any, really... ) to format it or anything like that, but it should get you started...

Unzip this attachment to your pals/ directory (this *WILL* overwrite your custombox6pal.php file!!! that's the one I used to experiment...). Then edit your IIP to show custombox6. It should work out of the box... If not, let me know!

Also, if you want the full source of MagpieRSS, please visit the link above and download it... it includes several sample scripts that could be of use for further customization.

Let me know if that fixes it for you.

Attached File
103781-rss-integration.zip  (209 downloads)
works ! take a look if you like: http://www.dragonclan-forum.de/index.php?Cat=0

Good work.
Glad to hear it! I'll probably leave it all as is, right now, but when I get a spare moment or two, I'll try to clean up the display a bit... (allow descriptions, etc...)

Take Care!
My user are very happy with this feature. While talk to them about the feed there are some ideas for future enhencements if you find the time to modify this mod again

The idea: the pal box should display a default feed for guests and users. Then it should possible for the user to change the feed itself. This can be done while selecting an other feed from a bulk of urls or enter an own url due the users my home control (such as enter an avatar url ect).

This would stop the dicussions wich feed we should display
Just wondering if someone might tell me why the following xml news site won't parse - I just get a blank Pal... other xmls work great!

http://www2.cio.com/search/rss/feed18.xml

Can you try it and see?

Thanks!
Reply may be cause its RDF not RSS? Umm don't know but comparing it aginst Yahoo's Top News

[] <?xml version="1.0" encoding="iso-8859-1" ?>
- <rss version="2.0">
- <channel>
<title>Yahoo! News - Top Stories</title>
<link>http://news.yahoo.com/news?tmpl=index&cid=716</link>
<description>Yahoo! News - Top Stories</description>
<language>en-us</language>
[/]

to theirs..

[]
<?xml version="1.0" ?>
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns="http://purl.org/rss/1.0/">
- <channel rdf:about="http://www.cio.com/">
<title>CIO.com - ERP/Supply Chain</title>
<link>http://www.cio.com/</link>
<description>Award winning site with all CIO articles, research, case studies, opinion, events, community about ERP, CRM, knowledge management, strategy, alignment, intranet, outsourcing, e-business, security and more.</description>
<dc:publisher>CXO Media, Inc.</dc:publisher>
<dc:rights>Copyright(C) 1994 - 2004 CXO Media, Inc.</dc:rights>
<dc:language>en-us</dc:language>
<dc:creator />
<dc:date>2004-02-25</dc:date>
<image rdf:resource
[/]

doesn't appear to conform to the same rules?
The former is RSS 2, which is like RSS 0.9.

The later is RSS 1, which is RDF.

The whole thing is a giant mess...
Is it possible to make this palbox compatible with RSS 1/RDF?
Sorry I don't know. I am not big into RSS best I can say is go see if you can find a script out there amongst the nuetrons that you can include(); into a Palbox.
Any way to get multiple boxes to display the rss feeds?

When I do it I just rename the php script to custombox1pals.php then 2 then 3 then 4 and so on. (pretty noobish here)

But when I do it I get an errog from the fetch file on line 89.

I have about 4 different feeds I would like to use.

Any help will be gretly appreciated.

Thanks,
ChefAce
Any suggestions, hints, tips, tricks etc etc?

Anything of use will be appreciated.

Thanks,
ChefAce
Anyone?

Anyone?

Anyone?
Dead thread.

[sarcasim]Thanks for the feedback[/sarcasim]
Don't rename the script to the pal box name. Insert the code into the pal box. There is code that is required in the pal box itself and there should be comments in the pal script that says where to insert the code.

If you can't figure it out, try attaching the file you are attempting to use and I'll take a look.
© UBB.Developers