PDA

View Full Version : RSS Image



timROGERS
07-06-2006, 04:10 PM
Since Danny made his piece of pointless GD, I set out to make something with GD that had a purpose and was at least functional and useful to people :P

As soon as I thought about it the idea of an RSS image to my head - how about an image that displays the latest title from an RSS feed?

So, off I set on the work. I dug out my MagpieRSS and set myself to work - I eventually, after around half an hour got a script that retrieved data from an RSS feed, cut it down to only the latest article and display it.

Then, I had to use GD to intergrate it into an image. That took longer - for a while I was unable to test out my work as I didn't have a host that supported GD2, but eventually I got it working.

I showed Tom (Organised) it, and he said that I had ought to add the title of the feed to the image so it made more sense, so I did :P Et voila, the finished product!

I wanted to be able to host it myself, and allow people to select a feed via ?rss=, but I found that HxF does not allow this and it just displays a link, so I decided to make it open source. The complete script is only 120kb, including template, PHP script and MagpieRSS.

Sample: http://www.tim-rogers.co.uk/rssimage/signature.php (some may have problems with this, if so, wait for a while until DNS resolves)

Download:
http://www.vitalhosting.co.uk/~tim/rss.zip
Feel free to edit anything, as long as you publish anything you make ;)

The script is ONLY COMPATIBLE with servers that run GD2 on their PHP.


(This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.)

Tomm
07-06-2006, 04:17 PM
Nice, but it doesn't all ways fit on one line.

:Blob
07-06-2006, 04:21 PM
Dont mention me for hosting you then lol :P

Its cool, even though I dont get any of it :D

timROGERS
07-06-2006, 04:23 PM
Thank you Mr Ryan :P You didn't have GD2 so it wasn't as good as the final, but GD1 let me test the principal :D

Luckyrare
07-06-2006, 04:38 PM
MMMM not bad 6/10 rofl

timROGERS
07-06-2006, 04:39 PM
Why is it 6/10? ;D Constructive criticism plssss

Luckyrare
07-06-2006, 04:44 PM
6/10 because the idea is totaly riped. TECHTUTZZZZ!111THRWEEE5444FIVE11111111!1

Nah 6/10 because I dont think many people would use it, its a good idea like

Thanks,
Danny

Sygon.
07-06-2006, 04:48 PM
Its ok but i dotn see that bno ones gonna use it, i doubt anyone hardltyknows what rss is.

Raremandan
07-06-2006, 06:06 PM
-Cough- Didn't someone on Neowin morealess give you this script -/cough-

Really sh!t syndication is what RSS stands for :D

Jamie.
07-06-2006, 06:24 PM
Whats does rss mean?


:)

Raremandan
07-06-2006, 06:27 PM
Whats does rss mean?


:)

Really Simple Syndication or Real Simple Syndication

Jamie.
07-06-2006, 06:30 PM
shud be rcs

really complicated woteva tht word was

Want to hide these adverts? Register an account for free!