Author Topic: RSS question  (Read 4449 times)

0 Members and 1 Guest are viewing this topic.

Offline twiter

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
RSS question
« 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.
 

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: RSS question
« Reply #1 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline twiter

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: RSS question
« Reply #2 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"

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: RSS question
« Reply #3 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...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline twiter

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: RSS question
« Reply #4 on: March 16, 2009, 06:06:53 PM »
it works for me like that thank you.