Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Feb 23, 2013 @ 15:36
    Jesper Ordrup
    0

    Sorting issue

    My problem is that my rss feed lists news in the order they are created, which is far from the date of the news.

    I have a "traditional" datefolder blog hiracy. It's a new installation so news are imported created randomly in the date foldes.

    Archive
    - 2004
    - 2005
    - ..
    - 2013
      - 01
      - 02

    What do you sort after?

    Is it possible to select another property? I would like to select my own date field as neither created/updated/pubished are the right ones. 

    best
    Jesper

     

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 24, 2013 @ 13:27
    Alex Skrypnyk
    0

    Hi Jesper,

    You could add new 'DateTime' property to the news item and then sort by it.

    thanks,

    alex

  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Feb 24, 2013 @ 13:35
    Jesper Ordrup
    0

    Thanks Alex,

    I have a datetime property but I dont think that'll do it. Posts are in different folders and I cant see that working. Ahh -  maybe the package uses @sortOrder? So if I reversed the whole structure then it would work .. I'm not gonna try that as it would conflict with other stuff. 

    We downgraded to the xslt version, fixed a problem with the guid links not being absolute and it works perfect. Only in xslt can you in minutes do a "give me all posts in subfolders, but filter on PostThisInRss, sort on umbDate, take the title from umbHeadline, fix the bodyText, add some info from parent node". 

    Best
    Jesper 

Please Sign in or register to post replies

Write your reply to:

Draft