links to another page

Creating and modifying plugins.
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: links to another page

Post 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 
=Don=
MonkhouseHosting
Regular
Posts: 9
Joined: Fri Oct 23, 2009 7:13 pm

Re: links to another page

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: links to another page

Post by garvinhicking »

Hi!

{serendipity_fetchPrintEntries category=7 range="20091201"}

Given that your "Marketing" is ID #7.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply