4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: twiter on March 16, 2009, 03:06:15 PM

Title: RSS question
Post by: twiter on March 16, 2009, 03:06:15 PM
I searched the board but find nothing about my question,
Rss feed get the data from the image's description, but I dont want to waste time for writing descriptions for all images.
I want it static like image_name pictures, image_name, wallpapers.

How can  i do that?
I looked at rss.php but cant find the solution.
 
Title: Re: RSS question
Post by: V@no on March 16, 2009, 03:30:28 PM
I'm not sure what exactly do need, but rss uses templates/<your template>/rss_item.xml
Title: Re: RSS question
Post by: twiter on March 16, 2009, 03:42:18 PM
thank you but when i try to change this

Code: [Select]
      <description><![CDATA[{item_description}]]></description>
with this

Code: [Select]
      <description><![CDATA[{image_name} pictures, {image_name} wallpapers ]]></description>

It writes different description like another image name.

but i want to write there automaticly "image name pictures"
Title: Re: RSS question
Post by: V@no on March 16, 2009, 03:50:42 PM
Code: [Select]
      <description><![CDATA[{item_title} pictures, {item_title} wallpapers ]]></description>maybe?
or remove that line completely...
Title: Re: RSS question
Post by: twiter on March 16, 2009, 06:06:53 PM
it works for me like that thank you.