WordPress.org

Ready to get started?Download WordPress

Forums

HungryFEED
Formatting date from CSS selector (2 posts)

  1. jimitris
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Hello

    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.

    Thanks!

  • Topic Closed

    This topic has been closed to new replies.

    About this Plugin

    About this Topic

    Tags