June 3, 2020

Fixing Feedburner in Revolution Magazine Theme one

Posted on July 7, 2009 by in software

I got an old revolution magazine theme to work with the new Google Feedburner functionality.

Code from Google:

<pre>

<form style=”border:1px solid #ccc;padding:3px;text-align:center;” action=”http://feedburner.google.com/fb/a/mailverify” method=”post” target=”popupwindow” onsubmit=”window.open(‘http://feedburner.google.com/fb/a/mailverify?uri=Titlethis’, ‘popupwindow’, ‘scrollbars=yes,width=550,height=520’);return true”><p>Enter your email address:</p><p><input type=”text” style=”width:140px” name=”email”/></p><input type=”hidden” value=”Titlethis” name=”uri”/><input type=”hidden” name=”loc” value=”en_US”/><input type=”submit” value=”Subscribe” /><p>Delivered by <a href=”http://feedburner.google.com” target=”_blank”>FeedBurner</a></p></form>

</pre>

Delete the following three parts:

<pre>

style=”border:1px solid #ccc;padding:3px;text-align:center;”

style=”width:140px”

<p>Enter your email address:</p>

<p>Delivered by <a href=”http://feedburner.google.com” target=”_blank”>FeedBurner</a></p>

</pre>

Move the </p> to after the submit button so that it doesn’t make a line break before the button…so that the “Go” button stays on the same line. Change the value of the submit button to “Go”. Put the following code in place of the name of your feed:

<pre>

<?php $feedburner_id = get_option(‘revmag_feedburner_id’); echo $feedburner_id; ?>

</pre>

That goes after the = sign in your feed URL and before the ‘. Make sure you change the Revolution Magazine Options for feedburner to the name of you feed — mine is TitleThis. I also added an <i>id=”subbox”</i> so that the length of the input field is like before, ie, I think it uses the general css instead of inputting the style as attributes in the input field – the stuff we deleted above. Anyway, here’s my final code.

<pre>

<h2>News & Updates</h2>
<p>Sign up to receive breaking news <br /> as well as receive other site updates!</p><form action=”http://feedburner.google.com/fb/a/mailverify” method=”post” target=”popupwindow” onsubmit=”window.open(‘http://feedburner.google.com/fb/a/mailverify?uri=<?php $feedburner_id = get_option(‘revmag_feedburner_id’); echo $feedburner_id; ?>’, ‘popupwindow’, ‘scrollbars=yes,width=550,height=520’);return true”><p><input type=”text” id=”subbox” name=”email”/><input type=”hidden” value=”Titlethis” name=”uri”/><input type=”hidden” name=”loc” value=”en_US”/><input type=”submit” value=”GO” id=”subbutton” /></p></form>

</pre>

Tags: , , ,

Leave a Reply

You must be logged in to post a comment.