Page 1 of 1

Comment in Cooliris/Piclens not showing

Posted: 23 Mar 2009, 14:06
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!

Re: Comment in Cooliris/Piclens not showing

Posted: 25 Mar 2009, 13:47
by elot
Hello Jan,

Have you any idea what is wrong, or how to solve this?

Re: Comment in Cooliris/Piclens not showing

Posted: 30 Mar 2009, 14:35
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

Re: Comment in Cooliris/Piclens not showing

Posted: 14 Jan 2010, 10:30
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

Re: Comment in Cooliris/Piclens not showing

Posted: 18 Jan 2010, 22:40
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