When I opened the link to WeblogManager I saw that class
JPAWeblogManagerImpl has a method for it. Does it implement it?

Thanks!

-----Original Message-----
From: Dave [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 27, 2008 5:28 PM
To: [email protected]
Subject: Re: get weblog by month

On Sun, Apr 27, 2008 at 5:57 AM, Odelya YomTov-Glick <[EMAIL PROTECTED]>
wrote:
>  I would like to get all weblogs' entries by month and year.
>  What is the best way to do it?
>  Odelya YomTov - Glick

Roller doesn't support those types of queries out of the box.

But... internally Roller does support queries for retrieving entries
by date, see the WeblogManager interface (http://tinyurl.com/4fkyqe)
for example, so making this information available in page templates is
possible but you'll have to do a little programming.

If you do have some Java programming skills you could create a new
Page Model that could appear in template with a name like $archive and
could return the type of information you want. There is some
information about creating a Page Model in my Advanced Roller
presentation on pages 50-53.

 
http://people.apache.org/~snoopdave/presentations/advanced-roller-aceu2008.p
df

If you want to try this I can provide more information.

- Dave



 
 
****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********




Reply via email to