Fetching Article titles from another page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
poporo
Posts: 1
Joined: Wed Oct 29, 2008 5:03 am

Fetching Article titles from another page

Post by poporo »

I have a site where in the root index.html, i want to fetch the latest three article titles from serendipity which is in /blog

so...

ROOT
-index.html
-/blog

i'm assuming you need a php command to call the titles from the database... any help?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fetching Article titles from another page

Post by garvinhicking »

Hi!

Check out http://www.s9y.org/78.html#A7

The other option is to install the s9y plugin "Show entries via JavaScript". This allows you to include your entries on other pages via a javascript widget. There's documentation coming with the plugin with some examples (README file).

HTH,
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