new REBOL site
[1/7] from: rchristiansen::pop::isdfa::sei-it::com at: 26-Dec-2000 16:58
If you're interested, I have begun a REBOL site which focuses on
using REBOL and XML to standardize messaging. I also plan to add
a REBOL script library to the site in the near future.
http://www.dangeroustechnology.com/
Any and all comments on my efforts are greatly appreciated.
-Ryan
[2/7] from: allenk:powerup:au at: 27-Dec-2000 11:15
Hi Ryan,
Cool Stuff.
Just 1 thing, in your example you need to encode the <> of the tags so that
they show up in HTML.
It is appearing like this
read-markup: func [
xml-file [file!]
][
message-data: load/markup xml-file
xml-data: make object! [
author: message-data/
subject: message-data/
date: message-data/
content: message-data/
messageID: message-data/
messageType: message-data/
]
xml-data
]
Instead of this
read-markup: func [
xml-file [file!]
][
message-data: load/markup xml-file
xml-data: make object! [
author: message-data/<author>
subject: message-data/<subject>
date: message-data/<date>
content: message-data/<content>
messageID: message-data/<messageID>
messageType: message-data/<messageType>
]
xml-data
]
Cheers,
Allen K
[3/7] from: ptretter:primary at: 26-Dec-2000 20:46
Nice and nicely done! Has a good feel and easy to read.
Paul Tretter
[4/7] from: carl:cybercraft at: 27-Dec-2000 15:04
On 27-Dec-00, Ryan C. Christiansen wrote:
> If you're interested, I have begun a REBOL site which focuses on
> using REBOL and XML to standardize messaging. I also plan to add
> a REBOL script library to the site in the near future.
> http://www.dangeroustechnology.com/
> Any and all comments on my efforts are greatly appreciated.
A nice idea. I think there needs to be some extra, optional tags as
well. <contact> springs to mind, (perhaps as part of <author>?), as
does <source>, meaning where the message originally appeared. I'm
sure there's plenty of others too.
--
Carl Read
[carl--cybercraft--co--nz]
[5/7] from: al:bri:xtra at: 28-Dec-2000 14:27
Ryan wrote:
> If you're interested, I have begun a REBOL site which focuses on using
REBOL and XML to standardize messaging. I also plan to add a REBOL script
library to the site in the near future.
You could probably use the set-words in the data object to specify the XML
tags, rather than having a separate block of tags, which look the same as
the set-words.
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/
[6/7] from: norsepower:uswest at: 27-Dec-2000 7:51
One thing I'm trying to get away from is having too many <tags>. Adding <
messageID> was absolutely necessary for keeping messages unique, but even
adding <messageType> bothers me because it adds to the complexity, which is
what I'm trying to avoid in the first place. The <messageType> tag is wide
open and can contain lots of information separated by a delimiter, if
necessary.
[7/7] from: norsepower:uswest at: 26-Dec-2000 19:39
Thanks. I missed a few of those, I see.