Comment in Cooliris/Piclens not showing

Phoca Gallery - image gallery extension
elot
Phoca Member
Phoca Member
Posts: 15
Joined: 14 Mar 2008, 15:28
Location: Netherlands
Contact:

Comment in Cooliris/Piclens not showing

Post by elot »

Hello Jan,

This weekend i was playing with Cooliris/Piclens, to look if i want it on my own site.
The answer is: yes 8)

But i found a small problem with the Phocagallery and Cooliris combination.
In the RSS file that Phocagallery generates, there is no commentline with the pictures.
Also the title in Cooliris is the name of the file and not the photo-titlename from Phocagallery.

Is it somehow possible to get the following taglines inserted with the correct comment with every picture?
[code]<media:description>The view outside my window....Sipping a drink and enjoying life.</media:description>[/code]

If this tag would be an option to enable of disable (just like the Piclens/Cooliris option itself), then the people who don't want it, can disable it again.

The only option that i can find now, is changing the generated RSS files by hand with the correct comment in it. :cry:

I am using the 2.2.2 Beta version by the way.

Edited part: titlename added in text above!
elot
Phoca Member
Phoca Member
Posts: 15
Joined: 14 Mar 2008, 15:28
Location: Netherlands
Contact:

Re: Comment in Cooliris/Piclens not showing

Post by elot »

Hello Jan,

Have you any idea what is wrong, or how to solve this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Comment in Cooliris/Piclens not showing

Post by Jan »

Hi, no idea, but I will take a look at it, if there is some possibility to change the code without doing any problem for images without description.

Jan
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Comment in Cooliris/Piclens not showing

Post by hmayer1980 »

Hi Jan,

Did make it the description for piclens already in the stable version?
(it´s not in 2.2.3)

Do you have a timeline - I know you do not have time.

ITs just 3 lines and I did it on my owne, but do not want to do it again if I upgrade in the next couple of days..

Code: Select all

$item->appendChild( $this->_buildXMLElement( 'description', $vrow->description ) );
added one more column to query - and add just description to the image
it worked for me just with description and not with media:description....

Thanks for the very good work on the component.

Hannes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Comment in Cooliris/Piclens not showing

Post by Jan »

Hi, yes I have added the:
$item->appendChild( $this->_buildXMLElement( 'media:description', $vrow->description ) );

as described in manual.

I will test your solution and if it will be OK, I will paste it into the new release.

Jan
If you find Phoca extensions useful, please support the project
Post Reply