Thread
Forum » Help / General support requests » Dynamic Feed Module/Summary & Details
Started by: Balthus Balthus
Date: 03 Mar 2009 11:55
Number of posts: 4
rss icon RSS: New posts
Summary:
How do I display an RSS summary list and allow drill-down to show further details within an RSS feed module display?
Dynamic Feed Module/Summary & Details
Balthus Balthus 03 Mar 2009 11:55

I have an RSS feed containing a fairly large number of bits of information, too much to comfortably fit on the screen.

I've got the Feed module set up to show a subset of the fields in a list, which is working well. However, 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.

Things I have tried so far:

a) I've looked at collapsible blocks, but they don't function within the feed module block.
b) I've looked at specifying the FEED module parameters within a URL, and calling a sub-page for expanded details, but you cannot currently specify "src" parameter for the feed within a URL.
c) I've set up a page template for details, with variables, but there doesn't seem to be a way to pass variables through from the calling page.

Any suggestions on how I can call an RSS feed or generate a new page on-the-fly in this manner?

by Balthus Balthus , 03 Mar 2009 11:55
Re: Dynamic Feed Module/Summary & Details
ErichSteinboeck ErichSteinboeck 03 Mar 2009 21:44

Not a very good solution, but at least something:

Create a “Summary” page …

[[module Feed ...]]
[[# %%link%%]]%%title%% [[size smaller]][/details-page#%%link%% Read more ...][[/size]]
[[/module]]

… and a “Details” page

[[module Feed ...]]
[[# %%link%%]]**%%title%%** [[size smaller]][/summary-page#%%link%% Back to list ...][[/size]]
%%description%%
[[/module]]

The summary page creates anchor links (%%link%% is assumed to be unique within the feed) to the details page to let the user see more details.

See http://snippets.wikidot.com/code:module-feed-drilldown for a working example.

by ErichSteinboeck ErichSteinboeck , 03 Mar 2009 21:44
Re: Dynamic Feed Module/Summary & Details
Balthus Balthus 04 Mar 2009 10:35

Heh, not the most elegant solution in the world but its definitely a step in the right direction. Thanks.

by Balthus Balthus , 04 Mar 2009 10:35
Re: Dynamic Feed Module/Summary & Details
ErichSteinboeck ErichSteinboeck 04 Mar 2009 19:58

> not the most elegant solution in the world
I know, I know. I tried a lot of different approaches, none were really satisfactory. By the way: I noticed that I had reported the collapsible bug with module Feed back in Nov 2007 and Michal had answered “does not work … wait until the next major upgrade”

Here's another idea:
Repeat below code as often as necessary while each time increasing offset by 1

[[module Feed src="..." offset="1" limit="1"]]
**%%title%%,** %%date%%[[/module]]
[[collapsible show="Show details »" hide="Hide details «"]]
[[module Feed src="..." offset="1" limit="1"]]
%%description%%[[/module]][[/collapsible]]

See it working at http://snippets.wikidot.com/code:module-feed-collapsible

by ErichSteinboeck ErichSteinboeck , 04 Mar 2009 19:58
/forum/t-135245/dynamic-feed-module-summary-details#post-