Saturday, December 06, 2003


Source: Knowing .NET

I wrote the following Radio Userland macro so that I can put blog entries in different categories into different places on a page. So, for instance, blog entries in the category "Published" are what generate the "Recent Writing" list here on the right. It may be that there's some built-in macro that allows this sort of thing, but if there is, I couldn't figure it out. If there's not, and you want the code, add this code to your template, replacing the string "Published" with a category of your choosing. (Comments, of course, appreciated) :

<%
local(ret = "");
local(posts);
local(post);
local(publishedItems = {});
local(i = 1);
posts = @weblogData.posts;
for post in posts {
  if(sizeof(post^.categories) > 0) {
    for cat in @post^.categories {
      if nameof(cat^) == "Published" {
        publishedItems[i] = "<p>" + string(post^.text) + "</p>";
        i = i + 1}}}};
for j = sizeof(publishedItems) downto 1 {
  ret = ret + publishedItems[j]};
return ret
%>

 

[Knowing .NET]
12:43:50 PM    trackback []     Articulate [] 

  Tuesday, December 02, 2003


Nightly Backups

Radio can keep a backup of your weblog posts, stories, templates and preference settings. Every night, Radio will back up new or changed data, and optionally upstream it to the public server. You can use the backup files to restore your data using a fresh installation of Radio.

 Check this box to have Radio back up new or changed data every night.
 Check this box if you want to upstream your backup files to the public server.

Backup folder:

12:28:40 PM    trackback []     Articulate [] 

  Wednesday, July 30, 2003


 

<BR><A href="http://www.technorati.com/profile/mikkelsd/2695/445ecc325c9a70447752ef8e06b26894">Technorati Profile</A><BR><BR>


7:13:09 AM    trackback []     Articulate [] 

  Monday, July 28, 2003


This looks like a fun new tool from Ben at http://www.neuronwave.com/bcb/ .

Use the following code to add the Blog Notify Me Icon to your weblog

<a title="Subscribe to this blog" href="aim:goim?screenname=blogchangebot&message=subscribe+radio.weblogs.com/0101015/"><img src="http://www.neuronwave.com/bcb/bcblogo.gif" border="0" vspace="2" hspace="2"/></a>

 


2:39:05 PM    trackback []     Articulate [] 

  Friday, July 25, 2003


The next beta release of TrackBack for Radio is ready for testing.

This version includes support for inbound TrackBack pings, various bug
fixes, a new prefs page for configuring TrackBack, and a field on the
desktop website home page for entering URLs of posts you'd like to ping
manually.

We'd appreciate your help testing.

*** How to test:

1. Download the following file, and import it into Radio using the Open
command in Radio's File menu, clicking OK to all confirmation dialogs:

http://jake.userland.com/gems/trackbackForRadio04.fttb

2. In the window that opens, there's a script named install. Run the
script.

3. Open the TrackBack prefs page in your web browser, and check the
boxes to enable TrackBack, and to add a TrackBack link to your weblog
posts. Don't forget to click the Submit button...:

http://127.0.0.1:5335/system/pages/prefs?page=2.17

4. Go to the Item Template prefs page in the Desktop Website, and add a
trackbackLink macro to the template, where you'd like the link to your
TrackBack pop-up window to appear:

http://127.0.0.1:5335/system/pages/prefs?page=3.4

The macro should look like this:

<%trackbackLink%>

4. Create a new post that links to a post in a site which supports
TrackBack, and post it to your home page. Radio will attempt to send an
outgoing ping to the post you linked to. If the site has a way to
display TrackBack pings, verify that the ping was received by the
linked site.

Here are a couple of posts you can test with:

http://jake.userland.com/2003/07/23.html#a843

http://backend.userland.com/2003/07/16#a413

5. Verify that incoming TrackBack pings are working: Create another new
post which links to a post in your own site, and verify that the
TrackBack ping was send, by clicking the TrackBack link next to the
post you linked to.

If you have another site which supports outbound TrackBack pings,
create a post in that site which links to, or sends a TrackBack ping to
a post in your Radio site. Again, click the TrackBack link next to the
linked post in your Radio site to verify that the ping was received.

6. Send an email to radio-dev to let us know that it worked. If it
didn't work, let us know what you did (in as much detail as possible),
what you expected to happen, and what actually happened, along with any
error messages you may have seen.

*** Notes

Note that this beta release will only work for incoming TrackBack pings
if your copy of Radio is connected to UserLand's community server, and
one of UserLand's comments servers (either radiocomments.userland.com
or radiocomments2.userland.com).

Since the server-side parts of the feature have not yet been released,
copies of Radio which are connected to the Salon Blogs server or other
instances of RCS will not be able to receive incoming TrackBack pings.
(You can still send outbound pings.)

If your copy of Radio is connected to Phillip Pearson's PyCS, you
should be able to receive incoming TrackBack pings, as well as sending
pings, but this has not yet been tested.

7:09:04 AM    trackback []     Articulate [] 

  Monday, July 21, 2003


Added BlogPatrol Web Stats with following code:

<script language="javascript">
var data, p;
var agt=navigator.userAgent.toLowerCase();
p='http';
if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&r=' + escape(document.referrer) + '&n=' + escape(navigator.userAgent) + '&p=' + escape(navigator.userAgent)
if(navigator.userAgent.substring(0,1)>'3') {data = data + '&sd=' + screen.colorDepth + '&sw=' + escape(screen.width+ 'x'+screen.height)};
document.write('<a href="http://www.blogpatrol.com" target="_blank" >');
document.write('<img border=0 hspace=0 '+'vspace=0 src="http://www.blogpatrol.com/counter.php?i=1531' + data + '"> </a>');
</script>


1:30:53 PM    trackback []     Articulate [] 

  Tuesday, July 01, 2003


Removed    update + now  from Home Page template.

Tried to modify the Comments Macro to Read Articulate from Comment.


8:26:12 AM    trackback []     Articulate []