Re: Pycoon?
Kimbro Staken <[email protected]> Sat, 15 Nov 2003 11:16:32 -0700
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
On Nov 15, 2003, at 10:22 AM, Bruce D'Arcus wrote: > > On Nov 15, 2003, at 10:52 AM, Kimbro Staken wrote: > >> Yes, I have sketches for a more generic data type system that allows >> end user defined data types. This will allow for an editing UI and >> what have you. > > Cool. > >> For instance weblog posts are "item" containers and a weblog is made >> of a collection of items. I'm not talking about defining and >> constraining detailed data types. They're squishy types. Maybe that's >> what I'll call them. :-) Basically the container just has to have a >> few basic properties, i.e. an item must have a title and a >> description, but from there it's open to putting whatever you want >> into it. If you put something there that the system can't handle it >> will just ignore it. > > I just saw your admin interface post, which has me thinking that one > easy way to get the benefits of form entry for xml bibligraphic data > on OS X might be to exploit TextServices. I could have a series of > completions that would insert the appropriate xml skeleton into the > body of a "post" in Safari. So, I type, say, "article," and it is > expanded to have all the appropriate tags. > Well that's effectively what I'm doing right now, except I use TextExtras scripts rather then text expansion. I think I told you about this before, but I'll do it again for the benefit of the list. I use DevonThink as my editor, though I can and do use other Cocoa apps as well. Using TextExtras scripts allows me to run a script on the content of the TextView and then completely replace the content. I just format the content a particular way and have the basic editing functions available in any Cocoa program (including Safari). With this I mean I have a menu option available in any cocoa program to post to the site just using any standard Cocoa TextView. I also have various templates that I can insert to do what you describe. Here's what a post looks like when you first create it. id: action:new format:rz title: Syncato Admin Interface category: Syncato, Web Services, Weblogs Post body And here' s how it looks after it's been posted id:/WK/blog/890 action:update format:rz title: Syncato Admin Interface category: Syncato, Web Services, Weblogs Post body It's definitely a klunky way of doing things, but it actually works pretty well as long as you understand what it's doing and the inherent limitations with that. It's no where near as good as a dedicated client, but that will come. A couple days ago I also added rhizml support, Rhizml is a pretty cool combination of Wiki markup and an alternative syntax for XML. I integrated it into my system so that I don't have to look at XML tags anymore. I hate typing XML as much as anyone. It translates the post into XML before inserting it into Syncato. > Not as ideal as a full-fledged form UI, but a lot easier to > implement... Yep, I agree 100%. > > Bruce > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/ > g22lp.tmpl > _______________________________________________ > Syncato-general mailing list > Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/syncato-general > > Kimbro Staken Software, Consulting and Writing http://www.xmldatabases.org/ Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl