[tw] Re: Where to place the code (jQuery etc)?

2012-04-24 Thread PMario
On Apr 24, 12:54 am, twgrp matiasg...@gmail.com wrote:
 In deed incredible that you threw this together just like that! It
 appears to be exactly what I'm hoping for!
:)
 And clever to split it up like that for other possible applications.
 (BTW, maybe the coming G-drive [1] will even replace picasa! To some
 extent it already appears Google are trying to make Google+ replace
 it. )
IMO g-drive is similar to dropbox and the like. It allways depends on
the API that is available for 3rd parties to connect to such services.
The picasaweb API is well documented and available. So we'll see ...

 1) It is only possible to display fully public stuff with your setup,
 yes? Picasaweb also has the option to only show for those who have a
 direct link and it has the Public Gallery and Unlisted Gallery
 views.
There is some little documentation about, what's possible with the
gallery plugin. See [1]
there is the

  authkey :   'optional-picasa-authkey',

which imo is the one you get if you restrict access at picasaweb album
settings.

I did a test, but the plugin doesn't show the thumb. Needs some more
testing see [2]

 2) For the gallery tiddler call, it appears all album covers are
 displayed regardless if I specify an ALBUM_NAME or all
should be fixed, but now names are _case sensitive_!

 3) How did you create that user name? Mine is only a long number. On
 your picasa page, your actual name shows up, not that user name that
 you use as an argument in the tiddler call.
It's your google user name. mine is same as gmail name.

 4) Album ID.. in deed. Did you do what I did:
 right click on the very album page to look at the html code. Search
 albumid and find it in a link ...albumid/thisisthenumber then
 *drag* it into the tiddler and then cut from. Not purdy..
jup. it is part of the album page html metadata. As I said, painful.

 ...However, why is this ID necessay? - why isn't the album *name*
Names are not unique, these IDs are.

 enough, just like when calling for the album gallery? (BTW... did you
 code this or is was it part of that package?)
There is some description [1], how to call this stuff. And there is
the demo page [3]. Where I had a look at the html source code.

Using InlineJavascriptPlugin and TW transclusion, is quite nice for
prototyping, because you can call jQuery plugins allmost like in the
examples. But most of the time, some TW wrapping is needed. eg:
UNIQE_ID which needs to be there, if you want to open several tiddlers
at the same time ... This could be part of the script but it
would need more programming. 

The next step would be to create a stand allone plugin, with named
params. Because as you can see, at the moment, the transclusion stuff
[2], does a lot of code duplication, which makes code maintenance more
difficult. ...

Creating the transclusion prototype needed about an hour. Playing with
the possibilities, restructuring the with: params and writing
documentation needed about 2 hours.

IMO this wouldn't be possible without TW/TS as a app framework. That's
one of the reasons why I like the TiddlyVerse :)

-m

[1] http://picasagallery.tiddlyspace.com/#EmbedPicasaGallery.js
[2] http://picasagallery.tiddlyspace.com/#PicasaTest
[3] http://oss.oetiker.ch/jquery/jquery.EmbedPicasaGallery.html

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-24 Thread Måns
Hi Mario

I'm really enjoying your picasagallery implementation :-)

http://synopse.tiddlyspace.gir.dk/#Skagensmalerne

Great job!!
Thanks for sharing it!

@twgrp

Thanks for giving @pmario this challenge - the result is *very*
useful :-D

Cheers Måns Mårtensson

On 23 Apr., 20:28, PMario pmari...@gmail.com wrote:
 OK,
 I did some prototyping at picasagallery [1] space. If you include the
 picasagallery space into your space, you'll get everything, you need
 to work with the Picasa transclusion. (Prototype using
 InlineJavascriptPlugin)

 tiddler Picasa##gallery with:  which lists all available
 albums.

 tiddler Picasa##album with:  which creates direct access to
 a known album. There is a little problem. I don't know an easy way to
 get the album ID. (needs some more investigation)

 The with: params can be seen at the space [1].

 I did split the different plugins into several -plugins spaces [2]
 [3]. This makes it possible, to use the slimbox plugin without picasa
 gallery. Picasa gallery also works without slimbox. It just creates a
 default link, which loads the pic into the browser. So other viewers
 should be possible too. (but this is brainstorming allready :)

 have fun!
 -mario

 [1]http://picasagallery.tiddlyspace.com/
 [2]http://picasagallery-plugins.tiddlyspace.com/
 [3]http://slimbox2-plugins.tiddlyspace.com/

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-24 Thread PMario
Hi Mans,
Nice page :)

I think your album ID is: 572688429144203 which is the second
number in your link [1].

This: 104494666267512549882 seems to be the user id.

Also check your transclusion it should be Picasa##album ... if you
directly want to connect to the album. If ##album is used, also the
144 thumb size should work. (didn't test it)

Thanks for giving @pmario this challenge - the result is *very*
useful :-D
Good to see, that there are several usecases.

But be aware, that the whole stuff isn't very well tested. So there
may be some changes ;)

-m

[1] 
https://plus.google.com/photos/104494666267512549882/albums/572688429144203?banner=pwa

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-24 Thread Måns
Hi Mario

 Nice page :)

 I think your album ID is: 572688429144203 which is the second
 number in your link [1].

 This: 104494666267512549882 seems to be the user id.

Thanks a lot :-D

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread twgrp
Anybody - please?
Or is it not possible?
Thank you!
/Mat

On Apr 21, 1:11 pm, twgrp matiasg...@gmail.com wrote:
 BTW, I got that link from a site that says you can filter out imaged
 by TAGS (i.e picasa tags!) in those picasa albums!

 http://www.reading-forum.co.uk/forum/viewtopic.php?t=6519

 :-)

 On Apr 21, 12:33 pm, twgrp matiasg...@gmail.com wrote:







  I found this code to embed picasa albums in *gallery* view (by default
  Picasa only allows embedding a slidshow or an album that only shows
  the first picture linking to the rest):

 http://archive.plugins.jquery.com/project/EmbedPicasaGallery

  As seen, the code includes both a script and some jQuery code.
  I'm no programmer so I'm guessing there should be a tiddler with the
  script used to render the actual album (yes?). But where should the
  jQuery code be? And is it necessary with the div part when I
  arbitrarily wish to create albums in various tiddlers?
  I.e, where do I actually put this stuff and do I need to enclose it in
  some magic tags or something.
  I have tiddlytools htmlformattingplugin, inlinejavascriptplugin and
  wikifyplugin installed.

  I should mention that I'm doing this on tiddlyspace (setting up TW's
  with the kids paintings etc)

  Also, if you have any better solution I'd love to hear it. (My ideal
  solution would be to do this with pics stored in Google Docs rather
  than Picasa because that is where I store stuff. But I cannot make
  links to the actual images there, not to mention folders as a
  gallery.)

  Thank you!!!

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread PMario
On Apr 23, 11:38 am, twgrp matiasg...@gmail.com wrote:
 Anybody - please?
 Or is it not possible?
 Thank you!
 /Mat
Hi Matias,
I did integrate the fancybox [1] picture viewer a year ago. I did make
everything configurable, to expose the whole fancybox power to the
user. It turned out, it was much more work, than I thought. That's why
I didn't respond to your first post :)

EmbedPicasaGallery internally uses the slimbox2 [2] viewer, which is
quite similar to fancybox. *thinking: don't touch it.*

Since you want to use it with TS, the whole stuff needs to work
_online only_. right? If so, I can set up a quick hack, that exposes
the EmbedPicasaGallery functions with InlineJavascriptPlugin and some
tiddler transclusions. This lets enough space, for further hacking (by
others). I'm going to use slimbox2 default settings only.

I'll post a link here, . soon  ;)

have fun!
mario

[1] fancybox.tiddlyspace.com
[2] http://www.digitalia.be/software/slimbox2

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread PMario
OK,
I did some prototyping at picasagallery [1] space. If you include the
picasagallery space into your space, you'll get everything, you need
to work with the Picasa transclusion. (Prototype using
InlineJavascriptPlugin)

tiddler Picasa##gallery with:  which lists all available
albums.

tiddler Picasa##album with:  which creates direct access to
a known album. There is a little problem. I don't know an easy way to
get the album ID. (needs some more investigation)

The with: params can be seen at the space [1].

I did split the different plugins into several -plugins spaces [2]
[3]. This makes it possible, to use the slimbox plugin without picasa
gallery. Picasa gallery also works without slimbox. It just creates a
default link, which loads the pic into the browser. So other viewers
should be possible too. (but this is brainstorming allready :)

have fun!
-mario

[1] http://picasagallery.tiddlyspace.com/
[2] http://picasagallery-plugins.tiddlyspace.com/
[3] http://slimbox2-plugins.tiddlyspace.com/

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread twgrp
Mario - you are so kind!

Fancybox has really beautiful displays! Great work Mario! I tried to
figure out how it works but must ask:
* is it enough for the user to only provide the url to the picasa
gallery/album page. I.e I don't want to have to copy paste individual
urls and I don't want to be foreced to name the pics specifically like
x1, x2, x3 etc with some kind of coded for-loop on x_.

I'm open to any solution that fulfills this and displays a full folder/
album in gallery view with some kidn of klickable thumbnails for
larger display.

I naively thought that after that official TW+jQuery integration a
while back that it would be easy to do use jQuery stuff, no? What
did the integration bring?

Thank you so much for your reply Mario!

:-)


On Apr 23, 5:34 pm, PMario pmari...@gmail.com wrote:
 On Apr 23, 11:38 am, twgrp matiasg...@gmail.com wrote: Anybody - please?
  Or is it not possible?
  Thank you!
  /Mat

 Hi Matias,
 I did integrate the fancybox [1] picture viewer a year ago. I did make
 everything configurable, to expose the whole fancybox power to the
 user. It turned out, it was much more work, than I thought. That's why
 I didn't respond to your first post :)

 EmbedPicasaGallery internally uses the slimbox2 [2] viewer, which is
 quite similar to fancybox. *thinking: don't touch it.*

 Since you want to use it with TS, the whole stuff needs to work
 _online only_. right? If so, I can set up a quick hack, that exposes
 the EmbedPicasaGallery functions with InlineJavascriptPlugin and some
 tiddler transclusions. This lets enough space, for further hacking (by
 others). I'm going to use slimbox2 default settings only.

 I'll post a link here, . soon  ;)

 have fun!
 mario

 [1] fancybox.tiddlyspace.com
 [2]http://www.digitalia.be/software/slimbox2

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread twgrp
Oups, I now see your second reply. Fantastic! Will try it out
immediately!
This is really kind of you Mario

On Apr 23, 10:55 pm, twgrp matiasg...@gmail.com wrote:
 Mario - you are so kind!

 Fancybox has really beautiful displays! Great work Mario! I tried to
 figure out how it works but must ask:
 * is it enough for the user to only provide the url to the picasa
 gallery/album page. I.e I don't want to have to copy paste individual
 urls and I don't want to be foreced to name the pics specifically like
 x1, x2, x3 etc with some kind of coded for-loop on x_.

 I'm open to any solution that fulfills this and displays a full folder/
 album in gallery view with some kidn of klickable thumbnails for
 larger display.

 I naively thought that after that official TW+jQuery integration a
 while back that it would be easy to do use jQuery stuff, no? What
 did the integration bring?

 Thank you so much for your reply Mario!

 :-)

 On Apr 23, 5:34 pm, PMario pmari...@gmail.com wrote:







  On Apr 23, 11:38 am, twgrp matiasg...@gmail.com wrote: Anybody - please?
   Or is it not possible?
   Thank you!
   /Mat

  Hi Matias,
  I did integrate the fancybox [1] picture viewer a year ago. I did make
  everything configurable, to expose the whole fancybox power to the
  user. It turned out, it was much more work, than I thought. That's why
  I didn't respond to your first post :)

  EmbedPicasaGallery internally uses the slimbox2 [2] viewer, which is
  quite similar to fancybox. *thinking: don't touch it.*

  Since you want to use it with TS, the whole stuff needs to work
  _online only_. right? If so, I can set up a quick hack, that exposes
  the EmbedPicasaGallery functions with InlineJavascriptPlugin and some
  tiddler transclusions. This lets enough space, for further hacking (by
  others). I'm going to use slimbox2 default settings only.

  I'll post a link here, . soon  ;)

  have fun!
  mario

  [1] fancybox.tiddlyspace.com
  [2]http://www.digitalia.be/software/slimbox2

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread PMario
On Apr 23, 10:55 pm, twgrp matiasg...@gmail.com wrote:
 I naively thought that after that official TW+jQuery integration a
 while back that it would be easy to do use jQuery stuff, no? What
 did the integration bring?
:) It is much easier, because there are a lot of jQuery plugins, with
nice functions. But they are made for web devs. So the examples don't
work very well in TW context. Also the philosophy is different. TW
brings the power to the user (at least it tries to), so most of the
time some wrapper code is needed, to make it more configurable,
instead of programmable. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread PMario
On Apr 23, 10:57 pm, twgrp matiasg...@gmail.com wrote:
 Oups, I now see your second reply. Fantastic! Will try it out
 immediately!
 This is really kind of you Mario
Feedback is very welcome.
-m

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread PMario
On Apr 23, 10:55 pm, twgrp matiasg...@gmail.com wrote:
 Fancybox has really beautiful displays! Great work Mario! I tried to
 figure out how it works but must ask:
 * is it enough for the user to only provide the url to the picasa
 gallery/album page. ...
fancybox plugin _can't_ handle picasa and flikr very well, because
you'll need to provide hadmade links. Which is a pain :) But
combining it with EmbedPicasaGallery seems to be interesting.
-m




-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-23 Thread twgrp
In deed incredible that you threw this together just like that! It
appears to be exactly what I'm hoping for!

And clever to split it up like that for other possible applications.
(BTW, maybe the coming G-drive [1] will even replace picasa! To some
extent it already appears Google are trying to make Google+ replace
it. )

A few questions:

1) It is only possible to display fully public stuff with your setup,
yes? Picasaweb also has the option to only show for those who have a
direct link and it has the Public Gallery and Unlisted Gallery
views.
2) For the gallery tiddler call, it appears all album covers are
displayed regardless if I specify an ALBUM_NAME or all
3) How did you create that user name? Mine is only a long number. On
your picasa page, your actual name shows up, not that user name that
you use as an argument in the tiddler call.
4) Album ID.. in deed. Did you do what I did:
right click on the very album page to look at the html code. Search
albumid and find it in a link ...albumid/thisisthenumber then
*drag* it into the tiddler and then cut from. Not purdy..
...However, why is this ID necessay? - why isn't the album *name*
enough, just like when calling for the album gallery? (BTW... did you
code this or is was it part of that package?)

Again, thank you so much Mario!

:-)

[1] 
http://www.hostway.co.uk/news/virtualisation---the-cloud/google-drive-rumoured-to-arrive-this-week-801346636.html

On Apr 23, 8:28 pm, PMario pmari...@gmail.com wrote:
 OK,
 I did some prototyping at picasagallery [1] space. If you include the
 picasagallery space into your space, you'll get everything, you need
 to work with the Picasa transclusion. (Prototype using
 InlineJavascriptPlugin)

 tiddler Picasa##gallery with:  which lists all available
 albums.

 tiddler Picasa##album with:  which creates direct access to
 a known album. There is a little problem. I don't know an easy way to
 get the album ID. (needs some more investigation)

 The with: params can be seen at the space [1].

 I did split the different plugins into several -plugins spaces [2]
 [3]. This makes it possible, to use the slimbox plugin without picasa
 gallery. Picasa gallery also works without slimbox. It just creates a
 default link, which loads the pic into the browser. So other viewers
 should be possible too. (but this is brainstorming allready :)

 have fun!
 -mario

 [1]http://picasagallery.tiddlyspace.com/
 [2]http://picasagallery-plugins.tiddlyspace.com/
 [3]http://slimbox2-plugins.tiddlyspace.com/

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Where to place the code (jQuery etc)?

2012-04-21 Thread twgrp
BTW, I got that link from a site that says you can filter out imaged
by TAGS (i.e picasa tags!) in those picasa albums!

http://www.reading-forum.co.uk/forum/viewtopic.php?t=6519

:-)


On Apr 21, 12:33 pm, twgrp matiasg...@gmail.com wrote:
 I found this code to embed picasa albums in *gallery* view (by default
 Picasa only allows embedding a slidshow or an album that only shows
 the first picture linking to the rest):

 http://archive.plugins.jquery.com/project/EmbedPicasaGallery

 As seen, the code includes both a script and some jQuery code.
 I'm no programmer so I'm guessing there should be a tiddler with the
 script used to render the actual album (yes?). But where should the
 jQuery code be? And is it necessary with the div part when I
 arbitrarily wish to create albums in various tiddlers?
 I.e, where do I actually put this stuff and do I need to enclose it in
 some magic tags or something.
 I have tiddlytools htmlformattingplugin, inlinejavascriptplugin and
 wikifyplugin installed.

 I should mention that I'm doing this on tiddlyspace (setting up TW's
 with the kids paintings etc)

 Also, if you have any better solution I'd love to hear it. (My ideal
 solution would be to do this with pics stored in Google Docs rather
 than Picasa because that is where I store stuff. But I cannot make
 links to the actual images there, not to mention folders as a
 gallery.)

 Thank you!!!

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.