Formatting date from CSS selector (2 posts)

  1. jimitris
    Posted 3 years ago #

    Hello and thanks for a great plugin.

    I need to display a feed that contains all the data in an html table in the description field.

    I used your video tutorial on CSS selectors to parse the description and have converted it to a list but I'd like to take this a step further if possible.

    One of the table cells contains date and time information in US date format and I'd like to be able to convert this to dd/MM/YYYY format and if possible use this to sort the feed by date.

    The code to select the date is:

  2. Start Date/Time: {{select(text).(tr:eq(2) td:eq(1))}}

    I found an older thread in this forum that looks at sorting dates http://wordpress.org/support/topic/plugin-hungryfeed-how-to-display-other-elements-from-feed but not sure how I can use this information for my feed or if it is applicable.

    Many thanks in advance!

  3. http://wordpress.org/extend/plugins/hungryfeed/

  • jimitris
    Posted 3 years ago #


    I've managed to make this work using the xsl and the raw xml the feed is based on so a solution using Hungry feed is no longer required.

    I would like to know if it's even possible to do this though just for future reference.


  • Topic Closed

    This topic has been closed to new replies.

    About this Plugin

    About this Topic