RSS Mobile
 
tumblr:~ blog$ /usr/bin/alex --fortune

 


27 Giugno, 2008
text

Tumblr and Lightbox

Tumblr and Lightbox2 is a very wonderful combination!

from the Author’s page ( http://www.lokeshdhakar.com/projects/lightbox2/ ) : Lightbox is a simple, unobtrusive script used to overlay images on the current page. It’s a snap to setup and works on all modern browsers.

You can have an example by clicking on each photo in my tumblelog, (only on photo post, not on all pictures of my blog),


Now I will explain you how to setup it correctly on Tumblr:

NOTE^1: Edit the urls respecting the correct path where you’ve uploaded the files!

NOTE^2: Ensure that you’ve uploaded all the needed files!

I’ve made a list of all the file you must upload:

./css:
lightbox.css

./images:
bullet.gif        donate-button.gif loading.gif       thumb-1.jpg
close.gif         download-icon.gif nextlabel.gif
closelabel.gif    image-1.jpg       prevlabel.gif

./js:
builder.js       lightbox.js      scriptaculous.js
effects.js       prototype.js

First follow the instruction by Author’s page (edited by me for inserting it on Tumblr custom css):

  1. Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header. Between <head> </head> HTML tags!
    <!-- Start LightBox Javascript -->
    <script src="http://www.yourdomain.name/lightbox2/js/prototype.js" type="text/javascript"></script>
    <script src="http://www.yourdomain.name/lightbox2/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="http://www.yourdomain.name/lightbox2/js/lightbox.js" type="text/javascript"></script>
    <!-- End LightBox Javascript -->
  2. Include the Lightbox CSS file (or append your active stylesheet with the Lightbox styles).
    <!-- Import LightBox CSS -->
    <link rel="stylesheet" href="http://www.yourdomain.com/lightbox2/css/lightbox.css" type="text/css" media="screen" />
  3. Edit your css/lightbox.css file:
    #prevLink:hover, #prevLink:visited:hover { background: url(http://www.yourdomain.com/lightbox2/images/prevlabel.gif) left 15% no-repeat; }
    #nextLink:hover, #nextLink:visited:hover { background: url(http://www.yourdomain.com/lightbox2/images/nextlabel.gif) right 15% no-repeat; }
  4. Edit your js/lightbox.js file:
    fileLoadingImage: 'http://www.yourdomain.com/lightbox2/images/loading.gif',
    fileBottomNavCloseImage: 'http://www.yourdomain.com/lightbox2/images/closelabel.gif',


Now let’s start with tumblr integration:

  1. On the custom CSS form on Tumblr, go to: {block:Photo} and edit your {LinkOpenTag} like this:
    {LinkOpenTag}<a href="{PhotoURL-500}" rel="lightbox" title="{PhotoAlt}"><img src="{PhotoURL-400}" alt="{PhotoAlt}"/></a>{LinkCloseTag}
  2. Edit PhotoURL dimensions as you like, you can put values: 100, 250, 400, 500.

It’s all! now you have Tumblr+Lightbox2

if you have problems, write them to me!

text

CodeManager 0.5 released

I’ve released the source of CodeManager,

Version: 0.5,

This is the last database-less version (it uses perl hash files), from the next release I will develop a database-friendly version, maybe with sqlite support,
Stay Tuned to see progress!

To get the source go here:

http://code.alexworld.it/

You can read the source code directly online or download it:

http://code.alexworld.it/code/codemanager-0.5.pl.html

Goodbye

21 Giugno, 2008
photo
The future of World Wide Web is here: http://www.piclens.com
Discover a new wonderful way to surf the web, from google to flickr, from youtube to cnn!
Surfing the web become a pleasure for eyes and ears!
No more stupid button or complicated links, now is all on your hand, point your mouse and GO!

The future of World Wide Web is here: http://www.piclens.com

Discover a new wonderful way to surf the web, from google to flickr, from youtube to cnn!

Surfing the web become a pleasure for eyes and ears!

No more stupid button or complicated links, now is all on your hand, point your mouse and GO!

18 Giugno, 2008
text

torrentmanager on code.alexworld.it

Today I’ve published a little but powerful SH script to manage torrent files with enhanced-ctorrent (already known as: ctorrent).

You can find it on: http://code.alexworld.it

or directly here: http://code.alexworld.it/code/torrentmanager.sh.html

Have a nice day!

Alessandro.

1 Giugno, 2008
text

First preview of CodeManager

Yesterday I’ve published a first snapshot of my little project: CodeManager,

It’s a perl script that manage various type of source codes, it can highlight, publish static html and pack original source code file,

You can insert source code by file or directly by html form, It also manage an index.html file that you can edit with your own favourite style in which it display all the last uploaded source files ordered by date.

You can see a first preview of the static html produced on:

http://code.alexworld.it

It’s very incomplete so I decided to not publish the source code yet,

Stay tuned for news! :-)

7 Maggio, 2008
text

Google rocks but Yahoo too!

Today I’m happy to have discovered: Yahoo! Go

http://mobile.yahoo.com/go

Before discovering this GREAT App every time I want to surf on ebay, read the latest news, TRY to upload images on flickr or simply check the weather, I must open my mobile browser on my Nokia N73, and navigate to the various bookmarks to find wanted websites and hope them works!! :-)

Now I login into “Yahoo! Go” having all I need, weather, rss feeds, mails, photo upload on flickr, ebay, wikipedia, currency converter and more!! Much more!

So what can I say too? You must TRY IT!

On “Yahoo! Go” there are also some maps software but I prefer always to use “Google Maps” for mobile and its great function of “auto-locator” that can determines your position thanks to used gsm/gprs network.

As you can see I’ve added the flickr icon on right bar, by clicking on it you can see my photo album updated directly from my Nokia phone!

brb!

Stay tuned,

Alessandro.

HomeWebsite Homepage RSSTake the RSS! ArchiveLook at Blog Archives
MailMeSend me an eMail MailgpgTake my gpg key
Skype
Add me to Your Skype Account
ChatChat with Me! WorksLook my Works FlickLook my Picasa Photo Album!
YoutubeLook my Videos on Youtube! del.icio.usLook my bookmarks on del.icio.us! TechnoratiAdd to Technorati Favorites!
VimeoHDMy HD Videos on Vimeo! GoogleGo to Google! MTV-nomafieGo to MTV nomafie!


Visualizza il profilo di Alessandro Arrichiello su LinkedIn