Roberto Ballerini - traveling Published on March 4, 2008
by Roberto Ballerini - travelingpro

Roberto Ballerini - traveling's blog

Browse posts
[WANDERING] From Sassoferrato to Arcevia
Posted on March 15, 2008
[Wandering] Arcevia
Posted on March 14, 2008
5 comments (latest 9 months ago)
[EO] 32ª Internacia Junulara Festivalo
Posted on March 7, 2008
8 comments (latest 10 months ago)
Bye-bye Maître Follace
Posted on March 5, 2008
[IperNews] Flickr Import scripts: new version [EDIT: 1.6]
16 comments (latest 8 months ago)
[GROUPS] Ipernity Frontpage Contest
Posted on March 4, 2008
7 comments (latest 10 months ago)
[IperWorld] Bigoode had almost 50000 visits...
Posted on March 1st, 2008
7 comments (latest 10 months ago)
Geniuses aren't only on Ipernity...
Posted on February 28, 2008
16 comments (latest 10 months ago)
These boys are geniuses!!!
Posted on February 27, 2008
6 comments (latest 10 months ago)

Keyword tags

Flickr 2 Ipernity
GM Import scripts
GreaseMonkey

Member tags

Christophe Ruelle
Team ipernity
Dany
ntfxs
Anton Hazewinkel
Merodema
Trébol Azul
Matthias @ Ipernity

More information

This post is public
© All rights reserved
  1. 1 person added it to his favorites
  2. Read 0 times

[IperNews] Flickr Import scripts: new version [EDIT: 1.6]

Tuesday March 4, 2008 at 08:43PM

You can download them at www.ipernity.com/apps/gm

 

Due to problems in the last days with the pics import from Flickr, the Team made a complete rewrite of the GreaseMonkey import scripts: please, download them from www.ipernity.com/apps/gm and find the time to give a feedback to the Team.

I tested them myself on my secondary account and both scripts (1-to-1 and mass import) worked like a charme; thanks Christophe for the fast correction: you're great as ever.

EDIT: there was a little bug in the single import script; it didn't import the description; now it is fixed; update the script and restart Firefox

 

 

16 Comments / add your comment?

Bigoode [Frozen account]pro says:
clap clap clap to the team :))
Posted 10 months ago. ( permalink )
Christophe Ruellepro says:
Thank for you permanent help Roberto ;)
Posted 10 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
You deserve all our help ;-)

--
Seen in my account recent activity (?)
Posted 10 months ago. ( permalink / translate )
tommy says:
The "new" script does not seem to be carrying over the description of the (Flickr) photo. Everything else seems OK.
Posted 10 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
In my experience It isn't so with the mass import script; I don't know with the single import, but at a first glance to the script I can't see a reason for a different behaviour! Please: report the bug to the Team, if you can repeat it!

--
Seen in my account recent activity (?)
Posted 10 months ago. ( permalink )
tommy says:
exerpt from single import:
{
var p = xml.getElementsByTagName('photo')[0];

var visi = xml.getElementsByTagName('visibility')[0];
var date = xml.getElementsByTagName('dates')[0];

photo = { id : p.getAttribute('id'),
secret : p.getAttribute('secret'),
server : p.getAttribute('server'),
farm : p.getAttribute('farm'),
title : p.getElementsByTagName('title')[0].firstChild.data,
description: p.getElementsByTagName('title')[0].firstChild.data,

originalsecret : p.getAttribute('originalsecret'),
originalformat : p.getAttribute('originalformat'),
dateupload: _pi(date.getAttribute('posted')),
datetaken : date.getAttribute('taken'),
license : _pi(p.getAttribute('license')),
ispublic : _pi(visi.getAttribute('ispublic')),
isfriend : _pi(visi.getAttribute('isfriend')),
isfamily : _pi(visi.getAttribute('isfamily'))

};

Exerpt from mass import:
// description

var desc = xml.getElementsByTagName('description')[0];
if ( desc ) photo.content = desc.firstChild.data;
else photo.content = "";



Does this make any difference? It seems to me that the lines don't do the same thing, though they should.
Posted 10 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
You're absolutely right! I looked two times at the same script under different names: LOL!

The first line should read
description: p.getElementsByTagName('description')[0].firstChild.data

I reported to Xtof!
--
Seen in my account recent activity (?)
Posted 10 months ago. ( permalink )
Christophe Ruellepro replies:
Thanks Tommy. It's fixed in v1.6
Posted 10 months ago. ( permalink )
Roberto Ballerini - travelingpro says:
We found another little bug and Christophe is working on a fix

--
Coming from robertoballerini blog (?)
Posted 10 months ago. ( permalink )
Ruebenkrautpro says:
well, thanks, but i guess i do not need it any more once i have imported all my pics from flickr, do i?
Posted 10 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
There are people with double accounts, who post on Flickr and import the single pic to Ipernity, using the single import script...

--
Seen in my account recent activity (?)
Posted 10 months ago. ( permalink )
manganite says:
It's working well again! Many thanks to all:)

--
Seen in manganite home page (?)
Posted 10 months ago. ( permalink )
JJ1212 says:
worked perfect for me
Posted 8 months ago. ( permalink )
Nicolas Hoizey says:
Can't download it, I get a 404 error... :-(
Posted 8 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Have you reported it to the Team?

--
Seen in my account recent activity (?)
Posted 8 months ago. ( permalink )
Nicolas Hoizey replies:
I didn't, but it now works!
Posted 8 months ago. ( permalink )

Add your comment

Reply to this comment

Edit your comment

Please sign in to post a comment Sign in now?


rss Latest comments – Subscribe to the feed of this post comments.