How to disable image on a feed?
pramudya81 - August 22, 2008 - 10:25
Can we achieve this.
Because having images on RSS feed will make it ugly. My case using feedburner is the url of image is broken due to relatives path. So better not to have images at all.
Regards

Any way around to make it
Any way around to make it happen??
Anyone please...I want to
Anyone please...
I want to disable image on my RSS feed. Cause if I enable this and using 3rd party burner like feedburner the images are all gone.
So better not to display images at all.
Some 3rd party have a default not to show images from RSS like netvibes.
However I prefer to prevent it on my side. Not on 3rd party burner side....
Regards
dont insert images to the
dont insert images to the part thats feed :D
No we cant do that.
No we cant do that. Sometimes images are the first object on a posting.
Thinking to strip tag. But this means to explore rss module itself. And modifying core is not recommended at all though....
Regards
Replace feed's yellow png image with a transparent image
The feed's yellow png image is served from the misc directory - not from the theme's directory. So, if you really must have this - replace the feed.png with a transparent image. No code change at all.
Even if you are using feedburner, you should still show the feeds on your pages. When someone tries to use your site's direct feeds, then the user can be re-directed to feedburner's feeds. A visitor of your site must know that the feeds are available for your site - the yellow png image makes the user aware of that.
I hope this helps.
- Rajeev Karajgikar, Drupaler in South Bay Area
No Rajeev, what I want is
No Rajeev, what I want is not to have any images on the feed itself. Not the default feed icon.
You should read my first post on this thread...
Thanks
Try configuring RSS via admin settings
I do not understand your first post properly and what you want to accomplish.
Are you trying to provide images from your site via RSS feeds to others?
Do you have feeds that give images? Or Drupal RSS is generating feeds with images? Do you have image_attach on your site?
Still unclear what you want to do. You can configure the number of posts in the feed from admin settings of RSS.
It maybe good if you please elaborate a bit more about your environment, what you want to accomplish and what problem you are facing. Your chances of being helped will be higher.
Thanks
- Rajeev Karajgikar, Drupaler in South Bay Area
Rajeev, Sorry if my question
Rajeev,
Sorry if my question is unclear. Let me try to elaborate more on this issue.
I am having a RSS feed of my site. I could have done this from default drupal's RSS feed. It works fine. No problem at all.
However, due to chances for passive income on feedburner's ads. I tried using feedburner for my RSS feed.
Let's have a look on my RSS feed now...http://feedproxy.google.com/rss/dakiunta
All the images attached to each node are gone. This is due to relative path of the images. But 3rd party (in this case feedburner) needs all the images to be in absolute path.
Converting all images to be absolute path is of course my last preference. (gotta fix the whole problems)
Instead I want my RSS feed not to have images at all. Thus only text.
How to achieve this? I want my feed to be all in text not having tag at all. Hope this would clarify the problem.
Regards
> Because having images on
> Because having images on RSS feed will make it ugly
The only thing you can do is use the 'clean feeds' module.
http://drupal.org/project/cleanfeeds
But it strips *all* html from a feed, so you also lose formatting and hyperlinks.
However, images are a problem with nearly all websites and all feed readers.
So your site won't stand out as being particularly ugly.
Thanks Anti for your input
Thanks Anti for your input on clean feed. Guess this is what I need.
However, images are a problem with nearly all websites and all feed readers.So your site won't stand out as being particularly ugly.
Ah...ha I feel better now :)
Regards
I just had another thought,
I just had another thought, though....
I don't know about D5, but in D6 there is a 'teaser/summary' feature.
Instead of Drupal cutting off your body-text at 600 words, or whatever, to form the teaser, you can specify the first paragraph for each individual post.
The part that might be useful for feeds is that you can click a checkbox to NOT include the teaser section in the main body. This means you could create the teaser especially for the feeds (with formatting and links but without an image), then REPEAT the teaser again in the body, and this time include an image.
The only caveat with this D6 method is that you can't have images in the teaser on your website; you'd only be able to have an image in your body.
It probably won't help you if you're using D5, but just thought I'd mention it in case it helps someone else with their feeds.
Thanks for this input. In D5
Thanks for this input. In D5 we don't have this feature yet. We only capable set how long the teaser should be. There is no checkbox you mentioned.
The only caveat with this D6 method is that you can't have images in the teaser on your website; you'd only be able to have an image in your body.This one I don't like it. Very bad...
Your suggestion on cleanfeed module was perfect :) Thanks (gotta implement this soon)
Yup maybe your thought may help other users.
Regards
fyi you can specify the
fyi you can specify the format/template for your feed per content type with the http://drupal.org/project/contemplate module.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Anti, FYI, cleanfeeds module
Anti,
FYI, cleanfeeds module only works for Drupal's RSS Feed. When it comes to 3rd party RSS like Feedburner, the images links are still there.
I'll take a look on contemplate for now...
Regards
> FYI, cleanfeeds module
> FYI, cleanfeeds module only works for Drupal's RSS Feed.
> When it comes to 3rd party RSS like Feedburner, the images links are still there.
Maybe i'm misunderstanding what feedburner does (I've never used it)?
I thought you'd simply put your drupal feed url into your feedburner account, so feedburner would pull in your drupal feed and then 'publish and distribute' your feed to a wider audience using what ever tools it has on its website? If that was the case, I assumed that cleanfeed would sanitise the feed content before it was pulled by feedburner? Apologies if that's not the way it works!
Sorry, it works out! Very
Sorry, it works out! Very well. They were my previous postings so not updated yet.. on feedburner. After some time it works perfectly for both drupal RSS and feedburner.
Yes your understanding about feedburner is correct.
Thanks once again.
Regards