|
Randy Charles Morin blogs about Really Simple Syndication, RDF, FOAF, The Semantic Web and Social Software.
|
|
|
|
Blogroll
Copyright 2003-5 Randy Charles Morin
|
Paul R. Pival has been bugging me all month to provide more detailed instructions on formatting an R|mail subscription widget. Let me apologize upfront for not reacting earlier, I really need to focus on some customer satisfaction karma. I'll give you an excuse, I switched houses this month after nine years in the old house, there's was more boxes of junk than their should have been. Enough already, onto Paul's problem.
When I built R|mail I realized that people would want to style the R|mail widget, so I added classes attributes to the major HTML elements. Normally you added an R|mail widget to your blog by placing the following HTML <script>.
<script type="text/javascript" src="http://www.kbcafe.com/rss/rss2smtp.aspx?rss={your feed URL goes here}"></script>
Don't forget to replace the {your feed URL goes here} with your actual feed URL. This will produce the widget in the black box below.
If you look under the hood, that <script> is actually translated to HTML that looks like this.
<form class='kbcafermail' action='http://www.kbcafe.com/rss/rss2smtp.aspx' method='post'>
<div class='kbcafermailmailto'>
<input type='hidden' name='rss' value='http://feeds.feedburner.com/TheRssBlog' />
<input type='hidden' name='lang' value='' />
Email:<input type='text' name='mailto' value='randy@kbcafe.com' /></div>
<div class='kbcafermailsubmit'> <input type='submit' value='Subscribe' /></div> </form>
Using CSS, we can now apply styles to this HTML. If you want to change the 'Email:' text to white, then add the following style inside your HTML <head> element.
<style type='text/css'>
.kbcafemailmailto { color: white; }
</style>
Or, if you wanted to center the Subscribe button, then add the following style inside your HTML <head> element.
<style type='text/css'>
.kbcafemailsubmit { text-align: center; }
</style>
I hope this helps! Thanks Paul for pushing me TODO this.
Umm, I still can't get any formatting to change :-( No matter what I include it comes out looking just the same. Very much a css newbie, but I was wondering if it's one of two things that might be stopping the formatting changes from taking place. Idea 1) I have other css on the page(s) in question. Could they be interfering with the style tags I'm inserting after them? Idea 2) is the fact that the script is actually on your site the culprit?
Seeing the HTML and including it instead of the line of script does now allow me to control each element (font color, text box size, centering) with simple html codes so I'm now good to go, but I wonder what I'm missing?
Sorry if I'm being dense and missing something obvious :-/
Paul
Randy
&submit={text}
to allow users to display a custom value for the submit button?
Simone Carletti (weppos)
Paul & Simone, feel free to embed the HTML instead of the javascript and format to your desire.
Randy
Simon Fodden
slaw.ca
Sorry Simon, no such functionality exist yet. If I get most requests, then I'll surely add it. Thanks,
Randy
Dear Randy:
The Rmail is not working. I put the RSS feed and the Email in http://www.kbcafe.com/Rmail.aspx and the system doesn´t work.
Please help me !
Best
Eric Rdz
Randy
Thanks for the notification Randy.
By the way
I´ll test Rmail in Typead with the new functionality Notes Typelist.
I can`t wait to see it working !!!
Randy:
This is my blog http://www.asonex.biz/ where I´m testing your Rmail application with the Typepad Notes Typelist technology.
I´m very excited about this !!!
Randy
Robin Good's Latest News
Randy:
I have added the R|Mail feature to my blog through TypePad's TypeList Notes. By the way - it looks GREAT:
The script that I added was: http://aboutgeorge.blogs.com/the_weekly_buzz/
<script type="text/javascript" src="http://www.kbcafe.com/rss/rss2smtp.aspx?rss=http://aboutgeorge.blogs.com/the_weekly_buzz/index.rdf"></script>
I am now curious about what my subscribers will receive via e-mail everytime I post to my blog. Does this R|Mail feature notify them of an update to my blog and provide them with a link? Will a title of the new blog topic show as well? Or will the e-mail simply load the HTML version of my blog?
Should I change my script in any way to better accommodate my subcribers?
Sorry about my ignorance...I am a "newbie-blogger"
Thanks for the advice...
George A.
George,
The best way to find out what your users will see, is to subscribe to your own feed. I reviewed your implementation and it looks great! And I subscribed.
Randy
Randy
I followed links here from problogger.net, to JERMExpress.com then here.
I would like to try your R|mail, and am wondering if you offer this as a free service?
Kind Regards,
Mark Lavercombe
http://hoopla.nu
Mark,
R|mail is a free service.
Randy
Dear Randy:
I found a bug in Rmail.
In Yahoo Mail the RSS message doesn´t have the:
Click here to unsuscribe text.
Is there a way to fix this problem ?
Best
Eric Rdz
I think I'm dropping an extra " (quote) into the HTML message body. That seems to be screwing up Yahoo. I'll fix it tonight. Thanks, I would never have noticed that,
Randy
Eric, fixed.
Randy
Hi Randy:
Thanks a lot, I checked out my Yahoo Mail account and the system works perfectly :-)
All the best for Rmail
See you
Eric Rdz
Randy
Hi Randy:
Yesterday I updated my blog www.asonex.blogs.com and I received the same Rmail message 4 times.
I made 2 changes so I got 8 messages.
Have a nice day
Eric Rdz
Eric,
You were subscribed with 4 different email addresses.
Randy
Randy:
Let me check this out.
I´ll repeat the process all over again
Thanks
Eric Rdz
Randy:
You were right !!!!
I`ve already fixed my problem.
Cheers :-)
Have a wonderful day !
Best
Eric Rdz
Randy
Awesome concept!
Let me echo the desire to have a weekly digest of any given RSS feed, instead of a daily one.
Dear Randy:
I´m ready to promote aggresively your technology.
I´m not scared about Feedblitz.
How difficult is to make an Spanish Version ?
Best
Eric Rdz
www.asonex.biz
Eric, very simple to do Spanish. If someone can give me the Spanish translations, then I'll put them on the server. I already translate to other languages.
BTW, Feedblitz is a great service. I like it. No reason to be scared of it.
Randy
Thanks Randy :-)
I can do the translation, just tell me what text do you need ?
Eric
Ooops ! I forgot
Your right. Feedblitz is a great technology.
However, I bet that Rmail wiil be the killer application in RSS email Marketing.
Reason ?
It´s very easy to use !
Best
Eric
hello,
i copied and pasted the snippet into dreamweaver's xml page for email updates on a podcast? it's not working. i'm a newbie and need help. thanks so much!
b-
Randy
i took the javascript off when i re-published cause i didn't want the code showing instead of the snippet. and unfortunately, i'm not at that office right now to re-publish.
i was just looking for a heads-up for when i get back there later today. it should work though, correct?
We have 8000 subscriptions in our database. Something is working :-)
Randy
I'm using your widget in a Typepad Typelist using HTML. I have not had a confirmation email back when I tried testing the service by subscribing with one of my own email addresses - nicks@lightworkssoftware.com
Below is the HTLM I am using (I will be using styling within the HTML once its working). I guess I must have done something wrong.
Could you help me please.
Thanks
Nick
<form action='http://www.kbcafe.com/rss/rss2smtp.aspx' method='post'><divSTYLE=''><input type='hidden' name='rss' value='http://feeds.feedburner.com/TheRssBlog' /><input type='hidden' name='lang' value='http://www.life2point0.com/index.rdf' />Email:<input type='text' name='mailto' value='' /></div><divSTYLE=''> <input type='submit' value='Subscribe' /></div> </form>
Nick,
Try this...
<
form action='http://www.kbcafe.com/rss/rss2smtp.aspx' method='post'><div ><input type='hidden' name='rss' value='http://www.life2point0.com/index.rdf' />
Email:<input type='text' name='mailto' value='' /></div>
<div > <input type='submit' value='Subscribe' /></div> </form>
Randy
And being so amazingly on the ball!
Nick Smith
Randy
I just want to say this is great. But there's one thing. I tested it on my site which is in Finnish, and it worked fine, except the confirmation email is in English. I don't think that's a big problem, because most of my visitor should understand English well enough. But it still might confuse them. So is it somehow possible to get the email in Finnish? I read the earlier posts and it seems like you have already translated it in some languages?
If you don't have the Finnis translation yet, it's not a problem for me to give it to you.
Lari
Lari,
If you provide the translation, then I'll integrate it into Rmail.
Thanks,
Randy
Lari
Lari,
If you do the raw text translations, I'll do the rest. You can email me [randy@kbcafe.com] the translations or post them here.
Thanks,
Randy
Thanks,
Lari
Thanks Lari, I did get something from you. I'll try to integrate it ASAP.
Randy
Thanks,
Lari
I have to integrate the translation first before I publish the instructions.
Randy
Lari
and the other one is http://citrus.wordpress.com/. Would it be possible to get some specifics in a walk through?
Thanks,
Roger Bourland
citrus1@cox.net
<div class='kbcafermailmailto'>
<input type='hidden' name='rss' value='http://feeds.feedburner.com
<input type='hidden' name='lang' value='' />
Email:<input type='text' name='mailto' value='randy@kbcafe.com' /></div>
<div class='kbcafermailsubmit'> <input type='submit' value='Subscribe' /></div> </form>