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
 Find out about the XML feeds of this site  
21:23 03/06/02
#sidebar.txt
on now () { kernel (clock.now)}3/15/2002; 3:19:03 PM

 

Sporadic notes about working with radio No Simpler than this Radio:

Wednesday, January 23, 2002

# 23:41  Radio 
  
 Asc Mo
all ftsc's linked from this page are now current and confirmed to have the latest changes from this evening. i'm thrilled with my localNavLinks!
# 21:31  Radio 
  
 Asc Mo
modified <%radio.weblog.render()%> to provide the correct %linkroot% (based on the first category an item is assigned to) to each item called.

also made the "flEditLinks" param be ignored (did never see the edit links when browsing my site locally) and used "not flStaticRendering" instead.

i'm running with a hacked render procin anticipation of getting a callback rather than hacking up cloned procedures.

# 19:39  Radio 
  
 Asc Mo
exported the tweaks required to create http://sonic.net/~ax/ from a category.

<%weblogdata.m.drawCalendar("NoSimpler","../")%> takes a category name and is able to render calendars for that category correctly if you make that category a home page on another server.

<%weblogdata.m.getLink("(HOME)","/","Catg.")%>generates urls for categories pretending to be homepages on a different server while keeping them work as private categories when you run as localhost. m.getLink is also used to produce links to these gems relative to the category root. e.g. /categories/radio/gems/.. when used locally and /gems/.. when used on the remote server.

# 19:26  Radio 
  
 Asc Mo
wrote <%weblogdata.m.drawnavigatorLinks("localnavigatorlinks",true)%> and adjusted my desktop AND homepage templates to include this after the rss link.
combined with a #localnavigatorlinks.xml file in the www root i now have access to private categories in the context of radio as localhost!
 
# 18:03  Radio 
  
 Asc Mo
with the file-system upstream driver in place i can now maintain an html menu replace the html used in ie's search pane from with the browser.

that sets right some of the overload of bookmarking and home page templates. neato.

# 17:55  Radio 
  
 Asc Mo
this was easy! i copied the viewWebLog macro from radio.root and made it take a 'catname =""' parameter; commented out a few line of code where catname was set.. and bingo! my homepage shows just the contents of the NoSimpler category. done.
<%weblogdata.m.viewWeblog("NoSimpler")%>

extended m.ViewWebLog by giving it a new calculated macro to serve as a reference to the static and dynamic versions of the site regardless of where it is hosted.

%linkroot% is this new variable and it will be properly recognized on any page that you create from m.ViewWeblog.  i'll need to clone and alter a few more things to render permalinks and recentposts in such a way that for single category posts (at least) i can use <a href="%linkroot%/gems/filename>cool file</a>.. but this its worth it.

@ 15:19 03/15/02
© Michael Ax, 2002