On Fri, Oct 16, 2009 at 6:24 AM, blues <[email protected]> wrote:
>
> On Oct 15, 8:02 pm, The Editor <[email protected]> wrote:
>> The info extension plugin has a "mine" extension which would allow you
>> to create an index like this from a batch of pages...
>>
>> some.page: 1234567890
>> otherpage: 1213141414
>> thirdpage: 1234323453
>>
>> And BoltWire already has built in capabilities to update and retrieve
>> these values easily. And generate fully templated reports. My guess is
>> he wants a list of the next 10 upcoming events or something. And
>> possibly check from various points in time. Like a calender of sorts.
>> Each page link goes to the info for that event.
>
> i am very interested in this capability.
> you mean that i can do a search on some pages and then sort the result
> using an info value? like for example the "10 most read pages"?
> e.g.
> [(search group=myblog order=reverse template=mytemplate type=-header,-
> footer )]
>
> how do i sort the resulting pages using the info.counter data?

No, this would be by using the info function...

[(info report target=info.counter sort=value count=10 order=reverse
template='[[{+p}|+]]: {+value}')]

Put this in the footer to generate the info.counter page:

[(info counter target=info.counter field={p})]

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to