R|mail styling - The RSS Blog
Randy Charles Morin blogs about Really Simple Syndication, RDF, FOAF, The Semantic Web and Social Software.
 
Copyright 2003-5 Randy Charles Morin
The RSS Blog
<< Previous Main Next >>
Wed, 27 Jul 2005 17:17:28 GMT
R|mail styling

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.therssweblog.com/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.therssweblog.com/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.

Reader Comments Subscribe
Paul, email me the HTML or a fragment of privately and I'll figure it out for you.

Randy

Paul & Simone, feel free to embed the HTML instead of the javascript and format to your desire.

Randy

Is there a way to receive email only once a week, or, better yet, to offer my readers the chance to choose between daily and weekly?

Simon Fodden
slaw.ca

Sorry Simon, no such functionality exist yet. If I get most requests, then I'll surely add it. Thanks,

Randy

Sorry Eric, a power outage on Friday caused the R|mail Internet connections to fail. They should be back online now.

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 !!!

Subscribed. Hope you do well!

Randy

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

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

Thanks Eric!

Randy

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

One satisfied customer. Luv it!

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-

Give us a pointer to the page and maybe we can help.

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?

ok, i'll republish it later, and get back to you.  maybe you can take a look at it then?   i do appreciate your help!
Thanks for sorting this issue out for me Randy. 
And being so amazingly on the ball!
Nick Smith
hello
Hi,

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

Ok, so how should I do it. Send it to you by email? And does it need any special formatting, like link tags or something? And what value should I use with lang to get it work?

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

Did you get it? And how can I get it in use?

Thanks,
Lari

Thanks Lari, I did get something from you. I'll try to integrate it ASAP.

Randy

Ok, that's good, but there is still one thing. What should I do to get the language work? I couldn't find any instructions anywhere.

Thanks,
Lari

I have to integrate the translation first before I publish the instructions.

Randy

Ok, I'll wait then. But thanks a lot anyway. This is a great service.

Lari

Type "339":
Top Articles
  1. Unblock MySpace
  2. MySpace
  3. FaceParty, the British MySpace
  4. del.icio.us and sex.com
  5. Blocking Facebook and MySpace
  1. Review of RSS Readers
  2. MySpace Layouts
  3. RSS Stock Ticker
  4. RSS Gets an Enema
  5. Google Reader rejects del.icio.us