Quick and Dirty "Show me the latest 5 photos in my stream" script

Posted by Doomshammer on Tuesday, October 14. 2008 at 15:01 in Anwendungen, English only, Photography, Privat, Thoughts
Here is a brief example of how to quickly fetch the latest 5 photos in you photostream and put them into a quick and dirty HTML output. It is written in Perl and uses my Ipernity::API module

View it as plain text
QUOTE:
#!/usr/bin/perl -w

use strict;
use warnings;
use Ipernity::API;

my $api = Ipernity::API->new(
'args' => {
'api_key' => '0123456123451234651235123452345234',
'outputformat' => 'xml',
},
);
my $result = $api->execute_xml(
'method' => 'doc.search',
'share' => 4,
'per_page' => 5,
'media' => 'photo',
'user_id' => '',
);

foreach my $doc (@{$result->{docs}->{doc}}) {
print '' .
'' . $doc->{title} .<br />
'

\n";
}

Ipernity's public API has been released

Posted by Doomshammer on Tuesday, October 14. 2008 at 13:25 in Anwendungen, English only, Photography, Privat, Web
Wow, it has been quite a bit since I wrote s. th. here in my blog, but I was either busy with my work or just to lazy to write something. But today I decided to put an update... 'cause my favourite Photo Sharing Community has opened it's doors to external applications by releasing their public API. It's still beta and some features are missing, but though it's there and can be given a test drive.

I took the chance and developed a Perl module for the API. With this module you can easily access the API and process the data of your Ipernity account within your perl scripts. Some features might be not there yet or need to be tweaked a bit, but basic functionallity is given. You can download it here (I am still waiting for my CPAN account).

To install, simply download and extract the package, then run: "perl Makefile.PL && make && make test && make install". That's it!

Let me know what you think about it!

Frontpage!11XI!

Posted by Doomshammer on Saturday, August 9. 2008 at 14:53 in Photography, Privat, Thoughts, Web
Wheee! Unglaublich, aber wahr! Eins meiner Bilder hat es tatsaechlich mal auf die Ipernity Frontpage geschafft :-) Zwar nur als Miniatur, aber immerhin! :-)

Ma wieder mit Content fuellen

Posted by Doomshammer on Sunday, April 13. 2008 at 16:10 in MoBlogging, Privat, Thoughts
Jaja... ich weiss- war in letzter Zeit ziemlich ruhig hier im Blog. Liegt aber ganz einfach daran, dass ich z. Zt. einfach viel zu viel zu tun habe. In meinem Job bin ich derzeit ziemlich eingespannt- viele Projekte, viele neue Sachen zu lernen und zu erkunden... ist aber cool und macht Spass.

Grossartig neues gibts hier aber eh nicht, ausser das ich mal wieder Zeit hatte beim Herrenabend mit meinem Kumpels ein paar Fotos zu machen, die mir meiner Meinung nach recht gut gelungen sind. Ausserdem habe ich meinen PODxt jetzt durch einen POD X3 ersetzt. Das Teil ist der Hammer und es macht heidenspass damit zu arbeiten. Hier mal ein kurzer Beispiel "Song" den ich gestern nachmittag aufgenommen habe:



Ansonsten braucht ihr aber auf meinen Hirnmuell auch nicht komplett verzichten. Da ich jetzt ja "Twitteraner" (oder wie auch immer man das nennen mag) bin, koennt ihr mir einfach dort "folgen" und habt so immer den aktuellsten Braindump von mir.

Ipernity has groups now!

Posted by Doomshammer on Thursday, September 20. 2007 at 20:22 in English only, Photography, Privat, Thoughts, Web
Yay! Finally Ipernity has released the first version of their groups feature! Works great! Yay!

Was bin ich doch froh...

Posted by Doomshammer on Sunday, July 8. 2007 at 20:17 in Photography, Privat, Thoughts, Web
...das ich zu Ipernity gewechselt bin. Wenn ich mir gerade echox' Blogeintrag ueber das neuste Zooomr "feature" durchlese, kann einem nur schlecht werden. Ich pers. sehe leider keine Zukunft fuer Zooomr (obwohl ich mich natuerlich gerne eines Besseren belehren lasse).

Pixlr goes Multiplatform

Posted by Doomshammer on Monday, June 25. 2007 at 14:58 in Anwendungen, Computer, English only, Flickr, Photography, Privat, Web

Yay! Another big step into "Pixlr goes Multiplatform" has been done. I just finished my first tests with the Ipernity API and I was already able to authenticate Pixlr with my Ipernity account.

Pixlr goes Ipernity

The Ipernity API isn't that big yet, and most of the methods I need for Pixlr, aren't avail. yet - but according to the Iperntiy-Team, it will be expanded soon!

The biggest step for Pixlr to be usable for many different platform has been finished by me yesterday. I completelly wrote my own interface to the Flickr API. This means that Pixlr doesn't depend on the 3rd party module Flickr::API anymore but uses Pixlr::API::Flickr now. But that's not the big news... instead of calling Pixlr::API::Flickr, it now calls Pixlr::API( 'service' => 'flickr' ); this makes Pixlr easily extendable to other platforms (like Iperntiy or Zooomr). I also just finished the first beta of Pixlr::API::Ipernity and did some tests - which all worked fine. I'm curisous to test out all the other functions/methos with Ipernity - looking forward to it :-)

On this way, a big thanks to Christophe from the Ipernity-Team for being so kind to offer me an API key for Pixlr :-)

I'm a Pro now :)

Posted by Doomshammer on Sunday, June 24. 2007 at 13:11 in Computer, English only, Photography, Privat, Web
Yep... I decided to give Ipernity a chance and just subscribed my Pro-account.
Read more here.

[Update] Wechsel zu Ipernity - ja oder nein?

Posted by Doomshammer on Friday, June 22. 2007 at 14:21 in Computer, Flickr, Photography, Privat, Thoughts, Web

Wie die meinsten von euch schon mitbekommen haben, zensiert Flickr "jugendgefaehrdende" Bilder auf Grund der deutschen Gesetzgebung fuer deutsche Benutzer. Das ganze wird seit einigen Tagen bereits heiss diskutiert und z. Zt. sehe ich immer mehr meiner Flickr-Kontakte zu Ipernity wechseln. Auch ich spiele mit dem Gedanken zu wechseln.

Dank Phil's Tipp hab ich mir bereits Anfang der Woche meinen Account dort gesichert :-) Das look&feel ist sehr aehnlich zu dem von Flickr. Einige zusaetzliche Features die Ipernity bietet sind auch sehr nett. Z. Zt. bin ich mir noch nicht sicher ob ich dorthin wechseln werde, aber die Chancen stehen nicht schlecht ;-)

Hier findet ihr meinen ersten Ipernity Blogeintrag zu dem Thema.

Update: Zum Thema API... ich hatte das Ipernity Team angeschrieben, ob es eine oeffentliche API gibt. Sie haben mir zurueckgeschrieben, dass es eine gibt und das sie zur Zeit an einer Dokumentation dafuer schreiben. Diese soll in ca. 2 Wochen veroeffentlicht werden - ich bin gespannt!

Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL