Updated: 10/11/2002; 11:26:35 a.m..
Myelin: Radio Dev
A blog for testing stuff: SharpBlog, Comment Monitor, etc
        

Tuesday, 8 October 2002

#2 fixed:

pta^.responseHeaders.["Content-Type"] = "text/xml"

New question: How do people use source control with Frontier and Radio?  I can do the old export trick and dump out all of Manila into XML:

file.writeWholeFile( "c:\\manila.xml", table.tableToXml@manilaSuite ) )

This makes a 2.5 MB XML file containing everything.  I can now commit that into CVS.  It's a little more involved than I'd like though.


11:45:50 PM    comment [][Macro error: Can't call the script because the name "liveTopicsSuite" hasn't been defined.]

  1. How do you figure out the URL of the current script?  Is it in the page table somewhere?
  2. How do you set HTTP headers?  I want my RSS file to come out as text/xml, not text/html.
  3. How do you save single scripts out as files in Frontier?  I tried saving something as a .ftsc file, but Frontier hung when I loaded it with File | Open.

Status report: I have RSS feeds for comments working in Manila, although the above things don't work yet (links are just blanks, and the rss file comes out as text/html so looks odd in a browser).

To do:

  1. Truncate the 'recent comments' table when it grows past 10 or so items.
  2. Get the above things done (the things I don't know how to do yet ;-)

1:17:31 AM    comment [][Macro error: Can't call the script because the name "liveTopicsSuite" hasn't been defined.]

© Copyright 2002 Phillip Pearson.
 
October 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    
Sep   Nov


Click here to visit the Radio UserLand website.

Subscribe to "Myelin: Radio Dev" in Radio UserLand.

Click to see the XML version of this web page.

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