Updated: 4/11/2003; 9:55:14 AM.
radio log
Place to note all the changes I make to customize Radio.
       Click here to send an email to the editor of this weblog.
        

Sunday, January 20, 2002
Radio Log

Added to #homepageTemplate.txt Jake's macro to list stories by title, with date published, with link:

<%navigatorLinks%>
                  <hr size="1">
                  <%
                  local (s = "", pc = file.getPathChar ());
                  local (folder);
                  folder = user.radio.prefs.wwwFolder + "stories" + pc;
                  fileloop (f in folder, infinity) {
                     if file.fileFromPath (f) == "index.txt" {continue};
                     local (adrfile = @user.radio.settings.files.[f]);
                     if defined (adrfile^.upstream.url != "") {
                        s = s + "<a href=\"" + adrfile^.upstream.url + "">";
                        s = s + adrfile^.title;
                        s = s + "</a>";
                        s = s + " (" + date.shortString (adrfile^.postTime) + ")";
                        };
                     };
                  return (s)
                  %>

Works fine, but I would prefer same typeface and size as other navigation links. Will have to work on that.



3:18:20 PM    comment  []    

Radio Log

Edited #navigatorLinks.xml to add links for categories pages.

Also to learn how editing templates works.

Here is a copy of the edited page:

<navigator>
  <item name="Home" pagename="/"/>
  <item name="economy" pagename="http://radio.weblogs.com/0100537/categories/economy/"/>
  <item name="world affairs" pagename="http://radio.weblogs.com/0100537/categories/worldAffairs/"/>
  <item name="commonplace book" pagename="http://radio.weblogs.com/0100537/categories/commonplaceBook/"/>
  <item name="don't forget" pagename="http://radio.weblogs.com/0100537/categories/don'tForget/"/>
  <item name="Radio log" pagename="http://radio.weblogs.com/0100537/categories/radioLog/"/>

  <item name="&lt;hr&gt;" pagename=""/>
  <item name="market" pagename="http://www.bigcharts.com/"/>
  </navigator>

(Links are not active in #navigatorLinks.xml file--the above is a function of this editing box at Desktop Website; Horizontal Marker item came from a Jake Savin discussion item on 1/15/2002)



2:12:53 PM    comment  []    

Radio Log

New Category.

This is where I will record changes or customizations to my Radio8.0.1.



12:21:15 PM    comment  []    


© Copyright 2003 Michael Jamison.   E-Mail:  Click here to send an email to the editor of this weblog.
 
January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Dec   Feb

My Pages:

Links:



Click here to visit the Radio UserLand website.

Click to see the XML version of this web page.

Subscribe:

Subscribe to "radio log" in Radio UserLand.

E-Mail Me:

Click here to send an email to the editor of this weblog.