Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 12-26-2005, 02:23 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Talking Addon: Thumbnails from My Favorate Photoblogs (Happy new year!)

Happy new year my friends. Check out my new addon as the new years gift
My Favorate Photoblogs...



$addon_name = "Favorate blogs thumbnail row";
$addon_description = "Creates a row of thumbnails from your favorate pixelpost photoblogs using their RSS feeds.";
$addon_version = "0.3";
as it's mentioned before it works only for photoblogs with RSS feed. Plus they need to have the thumbnail in the RSS feed!

Instruction
1) copy the content of To_addons_folder to addon folder!

To clarify for those my have problem understanding the above: That means you should create a subfolder named "favadd_files" and there with the files and folders inside. (do not change the directory structure of avadd_files folder )

2) Edit fav_addon.php and enter the address of RSS feed of your favorate photoblog.
in lines like
$url[0] = "http://fauxtoblog.com/index.php?x=rss";
$url[1] = "http://e150.criptex.com/index.php?x=rss";
...

I know it's a little weird for those of you that don't know programming but it the simplest way for me to do that . (complicated on user's side, easy on programmer's side)

3) Create a new template file with name "fav_template.html" inside your current template folder, "templates/simple/" for example. use the new tag <FAVORATE_BLOGS_THUMBLAILS> to show the thumbnails in the new template file.

Version 0.2:
UTF-8 compatible + uses tables instead of <div> to show the thumbnails.

Version 0.3 released.
Fixed a bug in the script: It now only shows one thumbnail from each photoblog even if the photoblog has several images in the latest post.

Version 0.4 released.
Fixed a bug. Now the addon executes only when visitor browse into the favorate photoblogs page.

Version 0.5 released.
Added the max width option to keep the favorate page managable when facing different thumbnails sizes of different people.

upgrade to verson 0.5 from version 0.1:
1) Replace the addons/favadd_files/rss_fetch.inc
2) Replace addons/fav_addon.php

upgrade to verson 0.5 from version 0.2-0.4:
1) Replace addons/fav_addon.php


Download:
Get the attachment
Attached Files
File Type: zip fav_addon_05.zip (29.2 KB, 226 views)
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7

Last edited by raminia; 02-21-2006 at 07:16 AM.
Reply With Quote
  #2  
Old 12-26-2005, 09:25 PM
tinyblob's Avatar
tinyblob Offline
team pixelpost
 
Join Date: Nov 2005
Location: scotland
Posts: 523
nice
it's always worth adding a little line to your blog that states the images belong to their respective owners though, just so that no one gets annoyed
__________________
touchnothing.net
Reply With Quote
  #3  
Old 12-26-2005, 09:39 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Quote:
Originally Posted by tinyblob
nice
it's always worth adding a little line to your blog that states the images belong to their respective owners though, just so that no one gets annoyed
Done
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #4  
Old 12-26-2005, 10:00 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
i was wondering about outputing it in Flash as in PhotoFolio (see thumbnails behavior). Also I was wondering about making similar stuff for Pixelpost.org that people could enter their pixelpost site RSS feed into a moderated list and we use that list to produce a random list of thumbnails of pixelpost users (in a Flash). That would be nice IMO.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #5  
Old 12-26-2005, 11:04 PM
tinyblob's Avatar
tinyblob Offline
team pixelpost
 
Join Date: Nov 2005
Location: scotland
Posts: 523
i was thinking something similar for the new pixelpost website, it would be nice to show images from peoples pixelpost websites.
however, if we're parsing RSS feeds then we'll just end up with thumbnails that could be any size.
might be better to make an admin addon that emails/uploads/links a thumbnail of the latest image (of a specific size) to the pixelpost website.
maybe not though.
lets discuss this later when talking about the new site.
__________________
touchnothing.net
Reply With Quote
  #6  
Old 12-27-2005, 03:58 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Kewl! I was thinking about writing something similar to put on my site - Now I will use this
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #7  
Old 12-27-2005, 04:58 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Quote:
Originally Posted by tinyblob
i was thinking something similar for the new pixelpost website, it would be nice to show images from peoples pixelpost websites.
however, if we're parsing RSS feeds then we'll just end up with thumbnails that could be any size.
might be better to make an admin addon that emails/uploads/links a thumbnail of the latest image (of a specific size) to the pixelpost website.
maybe not though.
lets discuss this later when talking about the new site.
I was thinking about pixelpost.org not necessarily a photoblog. Yeah that's the point. I wanted to do that but it needs a scheduling task to not to save many files at each hit. I like the idea. I can be done by consent of the Pixelpost photoblog users as well to use their thumbnail photos. for this addon I'll just email my friends and notify them that I'm using their bandwidth in this way.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #8  
Old 12-27-2005, 05:01 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Magpie RSS parser has a built in cache and a mechanism for checking new'ness of a feed... maybe you would like to look into that....
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #9  
Old 12-27-2005, 05:15 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
cool I'll check it.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #10  
Old 12-27-2005, 01:15 PM
SassKwatch Offline
pp regular
 
Join Date: Dec 2005
Posts: 22
Quote:
Originally Posted by tinyblob
nice
it's always worth adding a little line to your blog that states the images belong to their respective owners though, just so that no one gets annoyed
And even with that, this one just might create more than a little negative feedback. A lot of folks would be highly disturbed to have their thumbs linked to without permission being sought....even if a 'This Ain't My Work' blurb were included on the linking site.

At the very least, it seems to me that message ought to incorporated into the base code of this Add-On. At least make it a *little* difficult for the unscrupulous to remove.
__________________
-= Sass =-
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:29 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs