Media RSS? PicLens compatibility

conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Thu, 2007-06-28 00:51

[Apologies if this is the wrong forum.]

I came across an extension for Firefox and Safari that claims to allow fullscreen slideshows driven off an RSS feed.

It says the RSS feed has to support the Media RSS standard.

I searched the forums here and found a reference to Media RSS being implemented in Gallery recently, but my G2.2 test installation doesn't seem to include the required tags.

Has anybody looked at PicLens or got it running against their own Gallery?

Cheers,

Conor
Christchurch, NZ

GLoSS: Gallery2 Local Screen Saver & Desktop Changer

 
Schuk

Joined: 2007-06-25
Posts: 2
Posted: Sat, 2007-06-30 15:27

Hi Conor,

this tool Plugin is truly impressive. I now have installed it on Firefox under Windows XP and in Safari with OS X.
The Google Image search and Flickr works like a charm, but it doesnt work with my Gallery (SVN Branch 2.2.2) :(

Regards,
Schuk

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2007-06-30 23:23

It would be easy to modify my xml.php for it :)

-s
FlashYourWeb and Your Gallery

 
conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Tue, 2007-07-03 20:07

Suprsidr, that's nice!

Will definitely check that out.

Conor
Christchurch, NZ

GLoSS: Gallery2 Local Screen Saver & Desktop Changer

 
Kyeno

Joined: 2008-08-25
Posts: 1
Posted: Mon, 2008-08-25 16:47

Hi,

Indeed PicLens is a great extension.
Adding your own RSS Feed to support it is well described on their website.

And as the matter of fact i wrote an application Lens it UP
that enables piclens gallery on most regular gallery websites (and tgps)
check it at http://www.lensitup.com/

You can read more here http://blog.thepixers.com/2008/07/lens-it-up/

Cheers :)

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Wed, 2010-04-28 15:36

Hi all, very interesting thresd!

Ok, I have Gallery 2.3 with the cooliris installation. Wroks fine bar one thing: it doesn't show any .flv files in the 3D wall. Doesn't show them either when I open directories on my PC via the wall app.

What does work is when I load those same directories and files in an embedded cooliris flash using mediaRSS to draw in the thumbnails!

So: cooliris does not show .flvs unless it gets the instructions from mediaRSS.

Therefore: I want to make the Gallery2 cooliris plugin use mediaRSS instead of the Gallery2 native RSS file to popylate slideshow and wall.

How can I do this? I guess either by tellin cooliris what to use or by telling Gallery2 kthat it's native RSS feed is now mediaRSS.

Any help would be much appreciated.

Thanks for the great work, this is tremendous fun! :)

Chris

*edit* upon closer inspection it seems that mediaRSS simply lists all items of an album, the gallery2 native RSS doesn't! It only lists images, no video of any kind. I have not found a solution - is this a frek occurrence only I have or is it so blatantly clear that no-one has ever needed to ask about this??? lol :)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2010-04-28 15:52
 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Wed, 2010-04-28 23:23

Hi,

thanks for the reply and thanks for the great software! :)

It didn't quite fix my problem though! It does work and I can apply e.g. the size restriction which is great. However I can't see any .flv. In fact, if I create an album with only .flvs in it I get a "this feed has no items" when I click on "view slideshow".

If I have images and .flvs then I only see the images in the slideshow.

Strange thing is that if I click the "rss feed for this album" it now DOES show the .flvs in the feed, which before it didn't and I thought that was the main problem!! So how come the slideshow tells me there's nothing in the feed? Which feed is it looking at?

What has changed is that when I see the normal gallery thumbnail pages and hover the mouse pointer over a .flv thumb then I know get the little wall icon showing, I can click it and cooliris launches a wall with just the movies on that particular thumbnail page. This was not possible before where simply nothing would appear when hovering over .flv thumbs.

Any ideas? Thanks for the good work in any case :)

Cheers

Chris

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2010-04-28 23:47
Quote:
hover the mouse pointer over a .flv thumb then I know get the little wall icon showing

Its working, but your theme is not generating the link correctly.
Which theme?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 00:00

I tried both carbon and matrix - my preference is carbon, that's what my live gallery is built with.

In fact I just did a complete new clean install of gallery2 in a test directory. Created one album with just flvs. Installed your module update and refreshed the template cache. Did nothing else - and I get the exact same thing!

Thanks for the prompt reply!

Chris

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-04-29 00:14

The flv's are in the feed as they are responsible for the arrow indicator pasted onvthe thumbs.
view the feed yourgallerysite.com/main.php?g2_view=slideshow.SlideshowMediaRss&g2_itemId=your album's id&g2_offset=0

this feed should be in the page source somewhere in the <head>

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 00:42

Ok, yes I see this. I actually found sth.:

In the test gallery I just created if I right click and copy the URL of the "view slideshow" and then manually paste it into a new browser window (or tab) it actually works! If I just click it I get the "his feed has no items" message.

When I look at the RSS files linked from the header they seem ok.

On the live site however I look at the feed and it does no feature the .flvs. It's several linked feeds (<atom:link rel="next" etc) and the last one where the flv should start appearing just closes the </channel>....

So on one site the right click copy and paste solves it, on the other it doesn's list the flvs in the RSS.

If I use your mediaRSS.php in the gallery root it always finds all items correctly...

Cheers

Chris

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 01:54

Right, on the test site which actually features the .flv in the RSS:

Right click on the "view slideshow" link, copy and paste into a new tab and it writes this, which works:

http://noeliaychristoph.com/test/main.php?g2_view=slideshow.Slideshow&g2_itemId=29&g2_return=%2Ftest%2Fmain.php%3Fg2_itemId%3D29

after one second it quickly changes to this as the app kicks in:

http://www.cooliris.com/tab/#cs=11&url=http%3A%2F%2Fnoeliaychristoph.com%2Ftest%2Fmain.php%3Fg2_view%3Dslideshow.SlideshowMediaRss%26g2_itemId%3D29%26g2_browserPlugin%3D1%26g2_offset%3D0

Just left click, it opens a new tab with this URL:

http://www.cooliris.com/tab/#url=http%3A%2F%2Fnoeliaychristoph.com%2Ftest%2Fmain.php%3Fg2_view%3Dslideshow.SlideshowMediaRss%26g2_itemId%3D29&k=uid&v=29

... which after 1 second chamges to this URL:

http://www.cooliris.com/tab/#cs=11&url=http%3A%2F%2Fnoeliaychristoph.com%2Ftest%2Fmain.php%3Fg2_view%3Dslideshow.SlideshowMediaRss%26g2_itemId%3D29

... and then gives me the "no items in this feed" message.

So on the gallery where the RSS works fine somehow clicking the slidshow link doesn't forward the correct URL...

This is driving me mad so I stop now :)

Thanks again

Chris

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 02:42

Ok, Ok, one last one. I uninstalled and re-installed cooliris on the other test site and now the RSS does pick up the .flv correctly.

If I click on the "view slideshow" I get the slideshow with only images as such:

http://www.cooliris.com/tab/#cs=11&url=http%3A%2F%2Fnoeliaychristoph.com%2Fgalleries%2Fmain.php%3Fg2_view%3Dslideshow.SlideshowMediaRss%26g2_itemId%3D737

If I copy and paste the URL it willl show like so and show flvs:

http://www.cooliris.com/tab/#cs=11&url=http%3A%2F%2Fnoeliaychristoph.com%2Fgalleries%2Fmain.php%3Fg2_view%3Dslideshow.SlideshowMediaRss%26g2_itemId%3D737%26g2_browserPlugin%3D1%26g2_offset%3D0

So I think the crucial element is the "_browserPlgin" parameter which doesn't get carried forward when you click the link, only when you copy and paste it.

This theory is also supported by the fact that when I click on the wall icon on a .flv thumbnail in the album directly the cooliris wall opens and the URL does have the "_browserPlgin" appended correctly.

On the other hand, I've seen other galleries where flvs work fine without the appended parameter, e.g.:

http://www.slater-jones-sidings.co.uk/gallery2/main.php?g2_itemId=301

For some reaon the "view slideshow" link in the gallery menu doesn't forward the URL correctly when you click on it.

I have no idea how to fix this however!

Cheers

Chris

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-04-29 03:09

This is the proper way for the theme to generate the slideshow link

      {if $itemLink.moduleId == "slideshow"}
      <td class="gsActionIcon">
        <div class="buttonViewSlideshow"><a href="{g->url params=$itemLink.params}"
         title="{$itemLink.text}"></a></div>
      </td>
      {/if}

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 03:18

Thanks a lot for that! I'll try and find where that goes - if I can0t I'll bug you once more :)

How come I have to insert this? From all the reading I did tonight I assumed this would work "out of the box" - as long as the installation was made correctly, which I thougt I had!

Cheers

Cheis

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 11:48

I assume you mean in album.tpl? That's exactly what it says there. I pasted over it just in case and refreshed the template cache, but no joy... exactly the same problem persists. You can see it here:

http://noeliaychristoph.com/test/main.php?g2_itemId=29

... there must be sth funky going on. I will try a gallery new gallery installation on a different server.

If you actually go to the link above and try clicking "view slideshow" you'll see what I mean.

Then copy and paste it into a new tab, it will start loading, then open another tab and in that tab load the gallery contents correctly ... go figure!

I started doubting my Firefox plugin and tried on other PCs but the same thing happens there...

*Note: if I put an image in the gallery, then the link works, but the 3D wall only shows the thumbnail to the image, not the movies. You can see this here where I have images and flvs:

http://noeliaychristoph.com/galleries/main.php?g2_itemId=737

Again: click the link and it works but only images. Copy and paste it or click any of the thumbs and the flvs show too...

Thanks

Chris

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-04-29 12:10

Don't you sleep?

Quote:
I assumed this would work "out of the box"

Sorry to disappoint you. You must realize Cooliris has changed their end yet again.

You'll notice on my developement site the slideshow link in the album's head behave's correctly(the code I supplied above)
Whereas the link in the sidebar has the same result as your are receiving.
Its been a while since I updated the module.
I've been wanting to use the new embeddable 3D wall instead of piclens lite if possible(when no browser plugin present) - which would mean I would no longer need two different feeds.

Get some sleep.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 13:04

Lol :) You dedfinitely do NOT have to apologise! I much appreciate the software and all the great help you've provided. On the contrary, I should apologise for bugging you!

Can't sleep when sth is not working - drives me mad! Hehe :) I just hate it when things don't work!

As for "out of the box" this was simply because I saw it working on other sites so I assumed it was a plug and play kind of thing :) Of course I understand "work in progress", especially on open source projects such as these.

Ok, no go then, no worries either, it's great as is! If you have the same bug I do I can safely let it rest ... for now ... :)

I also want to use the embedded wall for other puposes and I do have it working. One thing I unsuccessfully tried to do is make it use the feed your slideshow creates. It works fine using your mediaRSS.php which I have in the gallery root - and thanks very much for that too! :)

But this always pulls the full size images and I wanted to use the size restriction I can control via the Gallery slideshow panel thanks to your plugin. Absurd idea? (Or any other way to make the wall resize before it loads, I could find nothing on that)

E.g.: embedded 3D wall showing images and flvs pulled from an rss feed that applies the pixel size restrictions as specified in Gallery control panel.

I got it all working bar the size restriction andit0s a bit silly when it starts downloading 3MB image files during the slideshow...

In any case, thanks again for all the great help! You should charge for your stuff, it's outstanding!

Chris

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-04-29 19:28
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-04-29 19:30
 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 19:48

Wow!!

Must try all that later tonight - need to do a bit of work today :) I'll definitely report back on this one. Great stuff!

Thanks again

Chris

 
chrisatlemon

Joined: 2008-03-25
Posts: 35
Posted: Thu, 2010-04-29 23:24

Hi!

ok, new slidhow module, check answer in module release thread.

Size restrictions in mediaRSS: fantastic! Thanks so much, this is cool!

Cheers

Chris