|
#1
|
|||
|
|||
|
New Component In RSS Feed That Does Not Work
I worked on my feeds today and i noticed that a new component is showing up at the bottom of each feed. It is a link that looks like it is supposed to go to the full-size image file for the post and looks like this:
20080105231305_20071021hbaw00001_web.jpg When you click it, you just get a 404 error. A) I don't want people to hyperlink directly to the image file itself, and B) The link does not work How can I checnge the RSS code to just get rid of this? |
|
#2
|
||||
|
||||
|
A) It's called an RSS enclosure.
B) Change your image path to ../ C) Open includes/functions_feeds.php and find Code:
$output .= "\t<enclosure type=\"image/jpeg\" length=\"".$filesize."\" url=\"".$enclosure."\" />\n"; Code:
// Code:
$output .= "\t<enclosure type=\"image/jpeg\" length=\"".$filesize."\" url=\"".$enclosure."\" />\n"; Code:
//$output .= "\t<enclosure type=\"image/jpeg\" length=\"".$filesize."\" url=\"".$enclosure."\" />\n";
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#3
|
||||
|
||||
|
you say you "worked on your feeds", did you change something in the code?
|
|
#4
|
|||
|
|||
|
Quote:
dwilkinsjr+ has this right. This looks like an RSS enclosure. I don't want to have an RSS enclosure in either of my feeds. Which code do I delete in my functions_feeds file to get rid of these enclosures? |
|
#6
|
|||
|
|||
|
Quote:
I just decided to delete that code and it accomplished what I was looking for. |
| Post Reply |
| Thread Tools | |
|
|