xml.php creation of Media RSS feed from Gallery2 albums
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Have you activated the other themes? -s |
|
totem
Joined: 2008-03-04
Posts: 25 |
![]() |
oh! My bad! thanks |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
@totem: that's really offtopic. but here you go... install&activate the themes first at "site admin -> plugins", then you can use them. -------------- |
|
totem
Joined: 2008-03-04
Posts: 25 |
![]() |
Thanks valiant. I had it already fixed. |
|
baseball2487
Joined: 2007-02-08
Posts: 13 |
![]() |
Using suprsidr's piclensrss.php file works well, however it has an external link to the file 'http://lite.piclens.com/current/piclens.js' - does the 2.3 module version use a link to this same file or does it keep a local version of that file? The reason I ask is if I were to deploy it on an isolated intranet with no internet access, would the feature still work (assuming I've already installed the browser plugin). I noticed in the comments on the piclens.js file that it stated '2) download the zip file and deploy it on your own website (unzip it anywhere, and point to the JS file in the <head> of your page)' so I thought this may be possible with the 2.3 plugin. On a side note it also mentions there is an optimized version of the javascript file (without comments and such) - and when messing around with it I don't see any downsides to using it (seems to work if I switch to it in the 'piclensrss.php' file) -- as mentioned in the piclens.js file ' * http://lite.piclens.com/current/piclens_optimized.js contains a light version for deployment (~25KB)' |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
the lite.piclens...... is only necessary if you use the <td class="gsActionIcon"> <div class="buttonViewSlideshow"><a href="javascript:PicLensLite.start();"></a></div> </td> alternate slideshow button. -s |
|
bharat
![]()
Joined: 2002-05-21
Posts: 7994 |
![]() |
@baseball2487: Because of licensing restrictions, we cannot ship the piclens JS with Gallery. Gallery 2.3 provides a button you click to download a copy of the PicLens JS code and store it on your server. You'll only need internet access for that part of the operation. |
|
baseball2487
Joined: 2007-02-08
Posts: 13 |
![]() |
Thanks bharat, that's just what I wanted to hear. Thanks for all the work you put into this. |
|
Udo Kraehenfeld
Joined: 2006-06-01
Posts: 36 |
![]() |
Resized images were not loaded in my gallery. Only the thumbnails were loaded. So long I'm not loged in to my gallery. Gallery-Version = 2.2.5 Kern 1.2.0.7 |
|
geantbrun
Joined: 2007-07-21
Posts: 13 |
![]() |
Hi, Now, did I have also to enable my website as described here: http://piclens.com/lite/webmasterguide.php? Thank you for your help! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Non3
Joined: 2008-08-01
Posts: 29 |
![]() |
hi, (sorry for my english :P) i tried to implent ONE RSS Feed for ALL albums. So i can see all Pictures of the gallery on one 3D-wall. Any ideas to realise this Multipage Galleries. Thanks for help! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Try: {if $theme.pageType == 'album'} <link rel="alternate" type="application/rss+xml" title="PicLens RSS" href="/gallery2/picLensRss.php?mode=search&g2_itemId={$theme.item.id}&mime=image/jpeg" id="picLensGallery"/> <script type="text/javascript" src="http://lite.piclens.com/current/piclens.js"></script> {/if}
-s |
|
Non3
Joined: 2008-08-01
Posts: 29 |
![]() |
Iam using this xml.php: http://www.admin-system.net/?q=node/4&id=960740000b Versions. i tryed {if $theme.pageType == 'album'} <link rel="alternate" type="application/rss+xml" title="PicLens RSS" href="/gallery2/xml.php?mode=search&g2_itemId={$theme.item.id}&mime=image/jpeg" id="picLensGallery"/> <script type="text/javascript" src="http://lite.piclens.com/current/piclens.js"></script> {/if} but the feed is empty. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
xml.php is very old. -s FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2 |
|
Non3
Joined: 2008-08-01
Posts: 29 |
![]() |
works fine.. ty |
|
me-g33k
![]()
Joined: 2006-04-13
Posts: 4 |
![]() |
I tried this again today and It's sort of working. I started to have problems when editing album.tpl. First off I could not identify where to put the link that for the slideshow button. I am using the matrix theme and the entire sidebar area is all modularized and bring pulled from somewhere else. I just ended up sticking in near the bottom and it looks really out of place on the page but it does work. When it's clicked it calls up the PicLens application but it complains that the current browser page is not yet Cooliris enabled. Also when editing the theme.tpl site I changed the link to point to a local copy of piclens_optimized.js rather than the one at piclens.com. I got the latest version of picLensRss.php from supsidr's site and modified that then placed it on the gallery root on my server. I have a virtual host for my site so I didn't need the /gallery2/ prefix in that revision suggested on #2 on this page (http://www.flashyourweb.com/forum/viewtopic.php?showtopic=792). One other possible factor maybe that I am running the URL Re-write module... Would this mess up the piclensrss.php? You can see the gallery at: I'd like to stay with the current version as I am running from a deb package and I am reluctant to migrate via import/export... TIA cat user_complain.msg > /dev/nul |
|
scaturan
![]()
Joined: 2004-09-12
Posts: 1153 |
![]() |
this is awesome, just tried it! thank you! *will recommend this to my users* |
|
sko22
![]()
Joined: 2004-04-26
Posts: 11 |
![]() |
is it possible to have a rss of all photos in gallery2? the structure of my site is this: is it possible to insert a button in index.php and to see with piclens all the images of gallry2? |
|
sko22
![]()
Joined: 2004-04-26
Posts: 11 |
![]() |
up |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
is it possible to insert a button in index.php and to see with piclens all the images of gallry2? no -s |
|
vhenninot
Joined: 2008-09-26
Posts: 32 |
![]() |
Hello, The template change generate a new RSS fedd that CoolIRIS can read, But today, is it still useful to add the piclensRSS file ? Wich feed is used for the flashyourweb minislideshow and Mediablock ? (i can't test because i'm on Linux Ubuntu) |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Gallery 2.3 needs no template changes at all. The minislideshow still uses my mediaRss.php -s |
|
smoser
Joined: 2009-01-23
Posts: 1 |
![]() |
I just wanted to say thanks to suprsidr and mediaRss.php (from v2.0.8 minislideshow - http://www.flashyourweb.com/filemgmt/index.php?id=12) I now have a digital picture frame supporting framechannel (http://www.framechannel.com/) showing pictures from my gallery installation. The built-in RSS support in gallery was not supported by framechannel. I think this is a result of the lack of <media> tags in the feed. Thanks. |
|
brewster1134
Joined: 2009-02-11
Posts: 29 |
![]() |
im not sure if mediablock is setup to do this, but i am looking for an rss feed that shows sub-albums as links to that sub-album's rss feed. the closest i have found to that is mediablock's recursive parameter, but it shows all sub-album items together with the current album items. it would be nice in cooliris to simply click on a sub-album and view the contents of it separately. can this be done with mediablock? |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
I can think of many ways to create the feeds you desire, but don't think cooliris would react as you'd like. -s |
|