You are here: Foswiki>Tasks Web>Item316 (20 Feb 2011, ArthurClemens)Edit Attach

Item316: filter blog entries by author

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: BlogAddOn
Branches:
Reported By: WillNorris
Waiting For:
Last Change By: ArthurClemens
WillNorris: is there any way to filter to blog listings so that i can list just the blogs of one person?
[07:28am] ArthurClemens: that would require to create a filter
[07:28am] WillNorris: eg, on http://estrella.wald3n.com/bin/view/Main/WillNorris to have a list of just my blog entries? (possibly with comments, but i dunno about that)
[07:38am] ArthurClemens: this is a search that creates a link for each category:
[07:38am] ArthurClemens: <span class="twikiUnvisited">%SEARCH{"  *\s*.*?" topic="BlogCategory" web="Main" type="regex" multiple="on" casesensitive="on" nonoise="on" format="<a href='%SCRIPTURL{view}%/Main/BlogPost?sort=created;limit=10;sortdirection=descending;category=$pattern(.*  \*\s*([^\n]*).*)'>$pattern(.*  \*\s*([^\n]*).*)</a>"}%</span>
[07:38am] ArthurClemens: so search on author would be: ?sort=created;limit=10;sortdirection=descending;author=WillNorris
[07:38am] ArthurClemens: in fact it would be more readable to use QuerySearch
[07:38am] ArthurClemens: instead of the current one

Done in 1.6.0.

-- ArthurClemens - 20 Feb 2011

ItemTemplate edit

Summary filter blog entries by author
ReportedBy WillNorris
Codebase
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Extension
Component BlogAddOn
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins
ReleasedIn n/a
Topic revision: r2 - 20 Feb 2011, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy