Page 2 of 2

Re: links to another page

Posted: Sat Dec 05, 2009 5:39 am
by Don Chambers
MonkhouseHosting wrote:I have done that with the foreign web sites but theres no date range.
I have never tried a date range, but the docs suggest that is possible:

range:
(mixed)
Restricts fetching entries to a specific timespan. Behaves
differently depending on the type:

Code: Select all

 Numeric: 
  YYYYMMDD - Shows all entries from YYYY-MM-DD. 
  If DD is "00", it will show all entries from that month. 
  If DD is any other number, it will show entries 
  of that specific day.

 2-Dimensional Array:
  Key #0   - Specifies the start timestamp (unix seconds)
  Key #1   - Specifies the end timestamp (unix seconds)

 Other (null, 3-dimensional Array, ...):
  Entries newer than $modified_since will be fetched 

Re: links to another page

Posted: Mon Dec 07, 2009 10:24 pm
by MonkhouseHosting
Ok I feel really dumb right now but I have read that 3 times and I still don't get it.

How would I do this:

I want to get info from the category= Marketing from 12/1/09

because I want to make a page that ask what day they want the info from and then take that info and a page with the posts.

Re: links to another page

Posted: Tue Dec 08, 2009 11:40 am
by garvinhicking
Hi!

{serendipity_fetchPrintEntries category=7 range="20091201"}

Given that your "Marketing" is ID #7.

Regards,
Garvin