Syndicate Press
[resolved] Free-format for feed items? (3 posts)

  1. skayser
    Posted 4 years ago #


    currently, Syndicate Press allows to format feed and item titles, but the remaining formatting is pre-determined (e.g. order of fields, line breaks between title and timestamp field). Would it be possible to completely free-format each feed item in the output with a small string-based template?

    Example: <li>strftime("...",$updated), $title</li>

    Ideally with additional hooks, fields, templates for pre-first-item and post-last-item. This would enable people to super-flexibly assemble the output from feed data building blocks. In my specific case, I'd like to produce a format like the following (similar to the "Releases and Updates" section on http://www.opencsw.org).

    * 2011-11-01, Released foo
    * 2011-11-01, Released bar
    * 2011-10-27, Released foobar

    Would like to refrain from hand-hacking TinyFeedParser.php or providing a specifically output-adjusted feed. If formatting a list like the one above is possible with the currently available feature set, I'd be more than happy to know.


  2. skayser
    Posted 4 years ago #

    Also, if using Syndicate Press to integrate multiple feeds into one's page, it would be great if such an output template could be specified on a per-feed basis. Different feeds in different areas of a page could need different formatting.

  3. SP developer
    Plugin Author

    Posted 4 years ago #

    that's a great idea. Thanks for sharing. I will look into integrating this into the next major release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Syndicate Press
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic