Results 1 to 8 of 8
  1. #1
    Junior Member mymcreative's Avatar
    Join Date
    Jun 2010
    Location
    UK
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding a custom RSS feed to your website

    Just was wondering if anyone had a quick 'how to' on adding an RSS feed to a website.

    I understand that styling ti can do done via css, but actually generating the code is something that has got be stumped. I have trawled the web and found various services (including Google Reader) that will create a feed for you, but do they let you customise it?

    Any help would be great :)

    Many thanks,

    Mark

  2. #2
    djb
    djb is offline
    Senior Member djb's Avatar
    Join Date
    Apr 2010
    Location
    Farnham, Surrey
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Have you come across this site: Dynamic Drive DHTML(dynamic html) & JavaScript code library

    If you do a search on there for RSS Feed it will come up with a few scripts to do it (and style them with CSS like you said).

    I can't give you a How To as its been a while since I did it but from what I remember it's pretty straightforward. Grab a coffee (or four) and try some of them out and I'm sure you'll find what you want.

  3. #3
    Member
    Join Date
    Apr 2010
    Location
    Norfolk
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I built a custom RSS feed a few weeks back for the first time.

    It is straight forward to do assuming that you have some PHP knowledge.
    There are a couple of approaches - I opted for a method whereby my CMS creates an actual xml file when ever a new file is saved, or an existing one is edited.
    Alternatively, you can use php to create it on demand (see link below).

    The method that you choose is up to really depending on what the feed comes from & how you want it to work.

    Have a look at this tutorial to get an idea of how easy it actually is:
    create an rss feed with php/

    If you wanted to save it as an xml as I did, you just need to save the xml data into a text file rather than echoing it out.

  4. #4
    Junior Member mymcreative's Avatar
    Join Date
    Jun 2010
    Location
    UK
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks CraftyGeek, PHP isn't my strongest skill to be honest, but I will have a look through it.

    Is there a slightly simpler method? :)

    Thanks,

    Mark

  5. #5
    Member
    Join Date
    Apr 2010
    Location
    Norfolk
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you want it as simple as it can get....you can do it manually - create an xml file & add new articles as you create them....this would get tedious very quickly though.

    You don't state what you want the RSS feed to run from...I presume that you have some form of CMS that is having new content added? - without knowing more I don't think anyone can be of much help.

  6. #6
    Senior Member creatabledesign's Avatar
    Join Date
    Mar 2010
    Location
    Swindon
    Posts
    137
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the link to the Tutorial CraftyGeek, I am a designer slowly learning development and need to create an xml feed for a news system that I am working on.

    Thanks again :)

  7. #7
    Junior Member AMI Creative's Avatar
    Join Date
    Nov 2009
    Location
    Staffordshire, Stoke-on-Trent
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you're creating a feed for say a news area remeber to include the link rel alternative in your header tag,as some browsers show a feed icon in the address bar when this is present:

    HTML Code:
    <link rel="alternate" type="application/atom+xml" href="http://www.yoursite.co.uk/rss/news" title="feed/http://www.yoursite.co.uk/rss/news" >
    Amy

  8. #8
    Senior Member creatabledesign's Avatar
    Join Date
    Mar 2010
    Location
    Swindon
    Posts
    137
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cool, thanks for the quick tip Amy :)

Similar Threads

  1. Good blog sites to create live news feed on website?
    By Haz in forum Website Design Forum:
    Replies: 1
    Last Post: 03-23-2011, 07:41 PM
  2. Win an expensive, custom designed, content managed website
    By emilekott in forum Graphic Design Competitions:
    Replies: 0
    Last Post: 11-12-2010, 07:02 PM
  3. Adding a side banner/bar.
    By Anglo Design in forum Website Coding & Programming Forum:
    Replies: 1
    Last Post: 05-05-2010, 01:16 PM
  4. HELP! i'm trying to add a blog feed to a website...
    By minkidesign in forum Website Coding & Programming Forum:
    Replies: 15
    Last Post: 07-13-2009, 09:24 AM
  5. Adding an album
    By Maddy in forum GDF Feedback & Help:
    Replies: 2
    Last Post: 10-18-2008, 01:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •