Module Feed Drilldown

By ErichSteinboeck ErichSteinboeck

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 (you may also want to check a different approach)

Code

[[module Feed src="http://rss.slashdot.org/Slashdot/slashdot;http://digg.com/rss/containertechnology.xml"]]
[[# %%link%%]]%%title%% [[size smaller]][/code:module-feed-drilldown-details#%%link%% Read more ...][[/size]]
[[/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-details#%%link%% Read more ...][[\/size]]"}}

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: Details Page - 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: +1
page revision: 3, last edited: 16 Feb 2012 01:24
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /