Module Feed Drilldown: Details Page

By ErichSteinboeckErichSteinboeck

Description

In post Dynamic Feed Module/Summary & Details from Mar '09 a question appeared regarding module Feed: I would like to be able to allow some form of "drill-down" so that you can click on an individual entry in the feed and display the whole entry in an expanded form

Here's an idea what you could do.

Code

[[module Feed src="http://rss.slashdot.org/Slashdot/slashdot;http://digg.com/rss/containertechnology.xml"]]
[[# %%link%%]]**%%title%%** [[size smaller]][/code:module-feed-drilldown#%%link%% Back to list ...][[/size]]
%%description%%
[[/module]]

In action

{"module":"feed\/FeedModule","params":{"src":"http:\/\/rss.slashdot.org\/Slashdot\/slashdot;http:\/\/digg.com\/rss\/containertechnology.xml","module_body":"[[# %%link%%]]**%%title%%** [[size smaller]][\/code:module-feed-drilldown#%%link%% Back to list ...][[\/size]]\n%%description%%"}}

Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by ErichSteinboeck

TOC's from many pages - 16 Feb 2012 01:47
Redirect: To - 16 Feb 2012 01:37
Module Listpages Tags - 16 Feb 2012 01:24
Module Feed Drilldown - 16 Feb 2012 01:24
Module Feed: Collapsible - 16 Feb 2012 01:23
Module Categories - 16 Feb 2012 01:23
MiniRecentPosts With Limit - 16 Feb 2012 01:23
ListPages: Horizontal? - 16 Feb 2012 01:20
Choose A Page! - 15 Feb 2012 00:32
Redirect: From (1st) - 01 Mar 2009 18:18
Redirect: From (2nd) - 01 Mar 2009 18:17


Rate this solution

If you think this solution is useful — rate it up!

rating: +3+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License