View Single Post
  #35  
Old 03-05-2006, 07:09 AM
Freycheur Offline
forum loafer
 
Join Date: Mar 2006
Posts: 1
Hello,
I've just installed a photoblog and I wanted those nice URLs.

I took your addon and made some modifications. I've rewritten the browse section and the feeds. I've made used of the htaccess RewriteEngine.

Now you have access to your pictures with /path/to/pixelpost/id-title. I'm French and I put a function which converts a title like "Cliché d'un soir" into cliche-dun-soir.

The browse section is available with /browse, a category with /browse/id-title.

Feeds are reached by /rss.xml and /atom.xml.

If you want to have a look, here is a download link : http://www.une-goutte.net/wiki/_medi...e_urls-0.1.zip
My photoblog with 2 little photos (see the addon in action) : http://www.une-goutte.net/cliche/

There's some functionalities of Pixelpost I don't use, so this work may be incomplete for some of you. On top of that if you want to tweak the URL format (eg add dates) it won't be as easy as I'd like. A further step would be to add a fieldbox in administration which let the user choose these settings.
Reply With Quote