|
List Info
Thread: using tiddlywiki to grow web code.
|
|
| using tiddlywiki to grow web code. |

|
2007-12-29 00:06:07 |
hi, all. i'm fairly new to tiddlywiki but am eager to
learn.
however, there is one slightly "non-tw" thing i
_really_ want
to do with it.
although i love tiddlywiki for it's micro-content, wiki, and
non-
linear
concepts.. i'm still gonna be doing plenty of linear
webpages as i
learn
more xhtml/css/javascript. i currently use a text-editor and
ftp
program to
send these files to my webhost. but the thought occured to
me, what if
i could just a stick a tiddlywiki on my website, and using a
plugin
and
maybe a php file, create my html markup, css, js or whatever
in a new
tiddler and export it as plain text with any extension
(.css, .html, .js,
.xml, .txt etc etc)
i could cook up new pages and scripts for my site, on my
site.
this would be really useful to me, and i know its possible
with tw.
i'm not sure there is a plugin to do what i aim, though, as
plugins
with
similar functionality are usually for a different concept
(such as
making
a tiddlywiki smaller..)
first i tried searching for something that will let me
export tiddlers
as
html, and i found two candidates (tho there maybe more):
PublishMacro:
exports tiddler(s) to an html file with a linked
stylesheet.
problem: i want to use my own markup,
this embeds tiddler content in its own.
ExportTiddlersPlugin:
problem: same as above.
so.. is there a plugin to export the body of a tiddler as a
plain text file with a chosen extension?
if this doesn't exist, it should!
it would really be cool if you could specify the filename in
the
tiddler's
title, put the content in the tiddler's body, and tag it
with e.g.
'export',
hit a button macro and be done!
note: i'm not trying to go against the "tiddlywiki
concept".. i just
figured that i could extend tiddlywiki as a platform to grow
web code.
it would be more seamless: when i want to add an additional
page to
my site, maybe test out a javascript application or css
layout in
plain
html, i could just go to my wiki-based home page, stick the
web code
in a
tiddler, and export as another page/file on my site.
i'm tired of desktop applications.
well, i hope i expressed my goal as clearly as possible,
along with my intentions.
..any ideas?
thanks,
stephen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 04:02:03 |
> so.. is there a plugin to export the body of a tiddler
as a
> plain text file with a chosen extension?
Try these:
http://
www.TiddlyTools.com/#SaveTiddlerToFile
works with the local filesystem i/o functions
http://
www.TiddlyTools.com/#SendTiddlerPlugin
works via http: POST to a server-side script
HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 14:43:34 |
> Try these:
>
> http://
www.TiddlyTools.com/#SaveTiddlerToFile
> works with the local filesystem i/o functions
>
> http://
www.TiddlyTools.com/#SendTiddlerPlugin
> works via http: POST to a server-side script
thanks a lot! i tried both.
the first seems to do what i want it to do,
(it worked locally on my computer) but i'm
not sure how to get it to work with
a tiddlywiki on my webhost.
as for the latter, i honestly don't know
any php/server-side, but i checked w3schools
for some basics and managed to be a display
any html markup from a tiddler with a php
file with:
<?php echo $_POST["content"]; ?>
still,
i'd like to be able to export the tiddlers
as an actual file on my webhost. can i
do this SaveTiddlerToFile?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 15:23:53 |
> i'd like to be able to export the tiddlers
> as an actual file on my webhost. can i
> do this SaveTiddlerToFile?
nope. SaveTiddlerToFile uses **filesystem** functions to
directly
read/write to your local hard drive. To do something
similar for
server-side storage simply cannot occur without some kind of
*server-
side script* functionality to which the data can be sent.
That is what SendTiddlerPlugin does... it packages up the
tiddler data
as an http:// POST message that it sends to a server-side
script for
remote storage. Without such a script, there is nothing on
the server-
side to 'catch' the data.
Still, there may be a way for you to use SendTiddlerPlugin,
even
though you don't know how to program the server-side: it
*might* be
possible to use the "store.php" script from
BidiX's UploadPlugin as
the remote 'catcher' for SendTiddlerPlugin... IF we can
figure out the
proper SendTiddlerConfig definition to feed to BidiX's
script...
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 17:01:52 |
> Still, there may be a way for you to use
SendTiddlerPlugin, even
> though you don't know how to program the server-side:
it *might* be
> possible to use the "store.php" script from
BidiX's UploadPlugin as
> the remote 'catcher' for SendTiddlerPlugin... IF we can
figure out the
> proper SendTiddlerConfig definition to feed to BidiX's
script...
that would rock!
i just now got my tiddlywiki online
with that same plugin.
it's at jk.vc/tw/
ok, now i have a problem... alot of options
are gone.. (such as 'new tiddler'.. i've
seen this before, but i thought it would
work when i got the UploadPlugin working.
do i a need a special version of tiddlywiki
for online? or could i fix this with a
plugin or two)
btw, if you wanna mess with itm the
user name is 'go' and pass is 'yoyo'..
thanks for the help ^^
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 17:35:26 |
Hi jk,
> ok, now i have a problem... alot of options
> are gone.. (such as 'new tiddler'.. i've
> seen this before, but i thought it would
> work when i got the UploadPlugin working.
> do i a need a special version of tiddlywiki
> for online? or could i fix this with a
> plugin or two)
all you need is to create a tiddler tagged with systemConfig
and the
following content:
__________
config.options.chkHttpReadOnly = false;
__________
W.
On 30 Dez., 00:01, jk <emailo... gmail.com> wrote:
> > Still, there may be a way for you to use
SendTiddlerPlugin, even
> > though you don't know how to program the
server-side: it *might* be
> > possible to use the "store.php" script
from BidiX's UploadPlugin as
> > the remote 'catcher' for SendTiddlerPlugin... IF
we can figure out the
> > proper SendTiddlerConfig definition to feed to
BidiX's script...
>
> that would rock!
> i just now got my tiddlywiki online
> with that same plugin.
>
> it's at jk.vc/tw/
>
> ok, now i have a problem... alot of options
> are gone.. (such as 'new tiddler'.. i've
> seen this before, but i thought it would
> work when i got the UploadPlugin working.
> do i a need a special version of tiddlywiki
> for online? or could i fix this with a
> plugin or two)
>
> btw, if you wanna mess with itm the
> user name is 'go' and pass is 'yoyo'..
>
> thanks for the help ^^
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 20:38:35 |
> all you need is to create a tiddler tagged with
systemConfig and the
> following content:
> __________
>
> config.options.chkHttpReadOnly = false;
> __________
it didnt work. =(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 20:43:28 |
That's really strange.
In this case try it with EnableEdit bookmarklet, which you
find on the
this page:
http://lew
cid.org/tiddlywiki-bookmarklets/
Hope that helps..
W.
On 30 Dez., 03:38, jk <emailo... gmail.com> wrote:
> > all you need is to create a tiddler tagged with
systemConfig and the
> > following content:
> > __________
>
> > config.options.chkHttpReadOnly = false;
> > __________
>
> it didnt work. =(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 20:49:20 |
> In this case try it with EnableEdit bookmarklet, which
you find on the
> this page:
>
> http://lew
cid.org/tiddlywiki-bookmarklets/
thanks a lot! it worked.
its rather an obscure way to fix a problem tho..
i wont be able to edit w/o that bookmarklet,
which is a shame when i'm on another computer.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: using tiddlywiki to grow web code. |

|
2007-12-29 20:55:38 |
Take a look at the thread 'InstantBookmarklets'. There you
find a
small piece of code which gives you a onclick handle to be
put in a
tiddler of your TiddlyWiki.
Though I wouldn't be satisfied with such crutches either,
and would
want to find out what's causing it
Regards,
W.
On 30 Dez., 03:49, jk <emailo... gmail.com> wrote:
> > In this case try it with EnableEdit bookmarklet,
which you find on the
> > this page:
>
> >http://lew
cid.org/tiddlywiki-bookmarklets/
>
> thanks a lot! it worked.
> its rather an obscure way to fix a problem tho..
> i wont be able to edit w/o that bookmarklet,
> which is a shame when i'm on another computer.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
|
|