clarification, response
parent
48e369366e
commit
4e935d300e
|
@ -6,12 +6,15 @@ from there, like I have on [my blog](http://kitenet.net/~joey/blog/)
|
||||||
* Enable the [[plugins/aggregate]] plugin, and set up a cron
|
* Enable the [[plugins/aggregate]] plugin, and set up a cron
|
||||||
job for it.
|
job for it.
|
||||||
* At the top of your blog's page, add something like the following.
|
* At the top of your blog's page, add something like the following.
|
||||||
You'll want to change the urls of course.
|
You'll want to change the urls of course. Be sure to also change
|
||||||
|
the inline directive's [[PageSpec]] to link to the location the
|
||||||
|
feed is aggregated to, which will be a subpage of the page
|
||||||
|
you put this on (blog in this example):
|
||||||
|
|
||||||
\[[!template id=note text="""
|
\[[!template id=note text="""
|
||||||
\[[!aggregate expirecount=5 name="dents" url="http://identi.ca/joeyh"
|
\[[!aggregate expirecount=5 name="dents" url="http://identi.ca/joeyh"
|
||||||
feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"]]
|
feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"]]
|
||||||
\[[!inline pages="internal(dents/*)" template=microblog
|
\[[!inline pages="internal(./blog/dents/*)" template=microblog
|
||||||
show=5 feeds=no]]
|
show=5 feeds=no]]
|
||||||
"""]]
|
"""]]
|
||||||
|
|
||||||
|
|
|
@ -14,3 +14,9 @@ mine, live, here: <http://simonraven.kisikew.org/blog/meta/microblog-feed/>
|
||||||
I expected something like: sidebar, with a number, and displaying them in the sidebar, but they don't display (similar to what you have on your blog).
|
I expected something like: sidebar, with a number, and displaying them in the sidebar, but they don't display (similar to what you have on your blog).
|
||||||
|
|
||||||
On the [[/ikiwiki/pagespec]] page, it says "internal" pages aren't "first-class" wiki pages, so it's best not to directly display them, so how do you manage to display them? I'd like to display their name, and what they link to in the sidebar, or otherwise in the main body.
|
On the [[/ikiwiki/pagespec]] page, it says "internal" pages aren't "first-class" wiki pages, so it's best not to directly display them, so how do you manage to display them? I'd like to display their name, and what they link to in the sidebar, or otherwise in the main body.
|
||||||
|
|
||||||
|
> That's what the inline does, displays the internal pages.
|
||||||
|
>
|
||||||
|
> You need to fix your pagespec to refer to where the pages are aggregated
|
||||||
|
> to, under the page that contains the aggregate directive. In your example,
|
||||||
|
> it should be `internal(./blog/meta/microblog-feed/kijkaqawej/*)` --[[Joey]]
|
||||||
|
|
Loading…
Reference in New Issue