1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to sort rss feed by

Discussion in 'XML & RSS' started by zit1343, Sep 26, 2010.

  1. #1
    Hello
    is there way we can sort the rss url? I want to sort it by date,
    is there something or some code we can add in end of url to sort it by date

    thank you
     
    zit1343, Sep 26, 2010 IP
  2. cyberseo

    cyberseo Active Member

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #2
    Depends on how your RSS feed was generated. For example, if it's a WordPress-generated feed, you can sort it like this:
    http://yourblog.com/2010/10/feed/
    http://yourblog.com/2010/09/feed/
    http://yourblog.com/2010/08/feed/
    etc...

    The same method works with some other automatic RSS-generators. If this is not your case, there is still a possibility to sort your script by date by means of a small custom-written script. Of course, if your original RSS feed does contain the <pubDate> XML tag.
     
    cyberseo, Oct 26, 2010 IP