Hey! Yeah, I do kinda have an idea. And it turns out that your explanation sorted me out pretty much. So, to use an example, this tiddler is a StyleSheet tiddler:
http://ilga.peermore.com/wiki/bags/ILGA/tiddlers/StyleSheet.txt Now, if I instead request: http://ilga.peermore.com/wiki/bags/ILGA/tiddlers/StyleSheet.wiki I get a TiddlyWiki with this StyleSheet in it. There are two things that I want that aren't currently happening: 1) I want to request this to get the text of the StyleSheet (and not have it put the metadata at the top): http://ilga.peermore.com/wiki/bags/ILGA/tiddlers/StyleSheet.css 2) I want to load a TiddlyWiki that has enough plugins in it to be able to edit the tiddler and save it back to TiddlyWeb, using this: http://ilga.peermore.com/wiki/bags/ILGA/tiddlers/StyleSheet.wiki I am open to options with step 2, but my goal is a single URL where you change the content-type for a totally different experience. Thanks, J. On Mar 4, 8:02 pm, "[email protected]" <[email protected]> wrote: > On Mar 4, 7:34 pm, jnthnlstr <[email protected]> wrote: > > > An idea - I'd like to be able to have a CSS file at a URL > > like:http://mytiddlyweb.com/styles.css > > > and have people be able to edit it when they go > > to:http://mytiddlyweb.com/styles.wiki > > > Thoughts? > > Based on the subject of your message, it sounds like have an idea on > how this might work. Can you explain that more fully? > > As you've probably discovered, there are several ways you could do > this in TiddlyWeb, much of it depending on how much server side plugin > code you want to write compared to how much "in TiddlyWiki" you want > the experience to be. > > If I were going to do a quick hack of this I would probably write a > quick server side plugin that loads up the css file in a form, you can > type on it, and click save. That would just work on static files on > the disk. You'd want to wrap it in some auth handling. > > If you wanted to do the editing inside a TiddlyWiki generated by > TiddlyWeb, then you could: > > * PUT the CSS to a tiddler with type of text/css > * have a plugin in the TiddlyWiki that recognized that server.type > attribute when edit was clicked, and presents you with a normal text > box, or a special CSS Editor. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWikiDev?hl=en -~----------~----~----~----~------~----~------~--~---
