Support » Plugins and Hacks » [Resolved] multiple categories, only displaying first one

[Resolved] multiple categories, only displaying first one

  • I’m trying to parse a delicious feed. When I use hungryfeed it only shows the first CATEGORY and I want it to show all of them separated by either a space or a comma and space.

    This is the shortcode I am using.
    <table> [hungryfeed url="http://feeds.delicious.com/v2/rss/jharnwell/bundle:Stage%205%20%3E%20Number%20and%20Algebra%20%3E%20Linear%20Relationships" template="1" feed_fields=""] </table>

    This is the template:

    <tr><td width="100">
    <a href="{{permalink}}"><img src="http://www.bitpixels.com/getthumbnail?code=15096&url={{permalink}}" /></a></td>
    <td><a href="{{permalink}}">{{title}}</a> - {{description}}
    <br /><font color="#999999" size="-2">Tags: {{category}}</font></td></tr>

    This is the output from the delicious RSS feed for one item.

          <title>Geogebra Applet: What is the gradient of this line?</title>
          <pubDate>Mon, 04 Jul 2011 05:10:26 +0000</pubDate>
          <guid isPermaLink="false">http://www.delicious.com/url/0b9724f174a7cb5d26d865fc9eb1934d#jharnwell</guid>
          <source url="http://feeds.delicious.com/v2/rss/jharnwell">jharnwell's bookmarks</source>
          <description>Drag a point to change the gradient of the line. To move one unit to the right, how much do you go up or down?</description>
          <category domain="http://www.delicious.com/jharnwell/">NA5.1.6</category>
          <category domain="http://www.delicious.com/jharnwell/">Geogebra</category>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jason


    Ah, I have been looking for an example feed with multiple categories, I wasn’t sure how it is implemented. Let me check that out and see if I can figure out how to make it work with HungryFEED. The template system is somewhat simplistic so I don’t know the best approach but maybe a comma-delimited list would work.

    Plugin Author Jason


    I just updated to version 1.4.6 and if an item is assigned to multiple categories then it will show them as a comma-delimited list.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] multiple categories, only displaying first one’ is closed to new replies.