Radio Userland tip: When referring to the URL of your weblog in a new post, use the macro <%radio.weblog.getUrl()%> instead of the actual URL (even in HTML tags). That way, if you ever move your weblog to a new URL, all references to it will automatically be updated when you republish the entire weblog at its new address.

Watch out for one thing: Radio weblog URLs always have a trailing "/" character at the end of the URL (example: <%radio.weblog.getUrl()%>), so you have to account for it when employing the macro.

Comments

Nope ... the macro renders this:

http://www.cadenhead.org/workbench/

So you should use a link like this:

<%radio.weblog.getUrl()%>RSS.XML

So would render: http://www.cadenhead.org/workbench

and if you wanted a file at the end it would have to be:

/RSS.XML

?

(Silier question: Is that to keep the / from accidentally closing an XML tag?)

Thanks for the Theme tip.

Arg...round 2:

So <%radio.weblog.getUrl()%> would render: http://www.cadenhead.org/workbench

and if you wanted a file at the end it would have to be:

<%radio.weblog.getUrl()%>/RSS.XML

?

Jeesh...add in the escaped tags and it still eats it! >:-|

Add a Comment

These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. A comment may not include more than three links. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).