On 10 February 2015 at 00:11, Tobias Beer <[email protected]> wrote:

> Hi Daniel,
>
> Using a minified TWc works well atm.
>
> You could post an index.html with just your redirect JS in it (as in, not
>> a tiddlywiki).  UploadPlugin just needs the right auth, and doesn't check
>> if it's a proper TW that's being uploaded.
>>
>
> Interesting, I imagined something like this should be possible, but
> figured a slim TWc was the practical choice.
>
> How would I tell UploadPlugin to upload anything other than the TiddlyWiki
> it is in?
> Or are you suggesting to upload via some CLI calling *store.php* directly?
>

Yes, you'd need to make a form that posted to store.php.  It's been years
since I tried it, but from memory you just need a few fields (I think just
the fields from the upload plugin macro call: user, password, uploaddir,
and backupdir) plus a file upload field for the file content you want to
put there.  I don't think our custom tiddlyspot code checks for proper wiki
content (it does if you are one of the couple of sites with experimental
ads turned on).

I don't think I'd want to support it officially on tiddlyspot, just because
redirection isn't always simple, and I don't want to tutor people on 3xx
HTTP codes, but this here is just between friends.. post back if you do it
and it works :)


Cheers
;Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to