-
Sorry, I didn't even know such an animal existed. Are there any?
If you clean up the feed as suggested in my previous post, you could email a link to it. That way your recipients could click on it to see it.
Other than that, if you want to email the actual feed contents, you would need a server side script to assemble them and place them in the body of the outgoing email. That would be something like scrollerbridge.php (outputs javascript) and bridge.php (outputs XML), but different. It would output HTML to be incorporated into the body of the email, an email that's set to display HTML. Or it could output whatever format the email needs to display HTML or text. Remember, recipients may have HTML turned off in their email reading program. That's a fine point. You could have link to the feed (again if you clean it up) that says:
"If you're having trouble reading this email click here"
And have that link to the feed or to a page displaying the feed and the rest of the email message if there's other stuff in the message.
Writing something like that would more or less be from scratch though - beyond what is normally done in a free forum like this. And it's a bit outside my comfort zone as well. I don't know a lot about server side email.
Another option, again you would have to clean up the feed, is instead of offering to sign people up for an email of the feed, offer them the option to subscribe to it. This could be in addition to an option to sign up for a newsletter email if any.
Note: When I say "clean up the feed", there may be other errors than just the blank lines before the opening XML declaration. If so, those would need to be fixed too.
-
Hi again. How can I control the size of the images coming in through the feed? They have gotten bigger with new posts.
http://www.fxanimation.com/rss/rssfeed.html
-
Sure. You can put something in the stylesheet. If you're not concerned about IE 6, and unless you know of some reason why you should be, I would recommend not worrying about it, you can use max-width and max-height settings. For example:
Code:
#pscroller1 .rssdescription img {
max-width: 100px;
max-height: 100px;
}
You would of course want to adjust those values to your liking. What happens is whichever native dimension of the image is the most over whatever is set as max becomes the set max value and the other dimension is scaled to it. If both native dimensions are under the maxes, the image will render in its native size.
If you do want to support limiting the image size in IE 6, you can have an IE 6 specific stylesheet where you set just the width or just the height (not max for either, just width or height). The other dimension will scale to it. But smaller images will be enlarged. But only in IE 6 and less. Then do like (goes in the head of the page):
Code:
<!--[if lt IE 7]>
<style type="text/css">
#pscroller1 .rssdescription img {
width: 100px;
}
</style>
<![endif]-->
If you do this for IE 6, you should still do the max-width, max-height bit in the main stylesheet, that will be what is used by all other browsers.