NameTypeVersionDateCoreRequires
download.phpserverside script1.0.0Mar 8, 2007
HttpGetMacroplugin2.0.0Mar 18, 20072.2
IsDirtyPluginplugin1.0.2Apr 30, 20072.2
GenerateRssByTagPluginplugin1.0.3May 17, 20072.2 (#2223)
LoadRemoteFileThroughProxy (previous LoadRemoteFileHijack)plugin1.1.0Mar 17, 20072.2
news.phpserverside script2.0.1May 13, 2007
PasswordOptionPluginplugin1.0.1Jan 19, 20072.2
proxy.phpserverside script2.1.1May 31, 2007allowedsites.txt
RSSReaderPluginplugin1.1.1Apr 21, 20072.2
store.phpserverside script1.6.0May 17, 2007
UploadPluginplugin4.1.0May 5, 20072.2 (#2223)PasswordOptionPluginUploadService
UploadPluginLingoENplugin4.1.0May 8, 20072.2UploadPlugin
UploadPluginLingoFRplugin4.1.0May 8, 20072.2UploadPlugin
UploadToFileMacroplugin2.0.1Apr 21, 20072.2UploadPlugin
UploadToHomeMacroplugin0.0.2Apr 21, 20072.2 (#2125)UploadPlugin
WebDAVSavingPluginplugin0.2.1Apr 21, 20072.2
From ages we are looking for a method to manage backup files and I had something like this (http://groups.google.com/group/TiddlyWiki/msg/d8e5d0d6be082ada?hl=en&) on my TodoList for more than a year !

I've now coded a method in store.php that maintains the size of the backup directory on the web server near a constant size.

Here is how it works. In store.php each time a new backup file is stored, the backup directory is scanned for files with the same prefix as the uploaded file and it holds only :
  • the last file of each preceding month,
  • the last file for each preceding week of the current month
  • the last file for each preceding day of the current week
  • the last file for each preceding hour of the current day
  • all the file of the current hour

Without the files of the current hour, the number of files in the backup directory for the last year is less than 24 + 7 + 5 + 12 = 48. With an average of 1Mo per backup file, the size of the backup folder should never reach 50 Mo for the last year and 12 Mo more for each previous year.

Thanks to Saq's nightly build http://nightly.lewcid.org/, I can now publish my recent upgrade based on the latest core enhancements :
I'm pleased to announce UploadPlugin 4.1.

It works as it did ...

First this new version is a refactored version. That is to say that UploadPlugin works as it did before. But thanks to a number of enhancements in TiddlyWiki2.2.0, now it is based on the core HTTP functions for the low level AJAX and it does no more core hijacking. It also uses only core functions for the HTML and RSS file generation. So UploadPlugin will stay compatible with future evolution of StoreArea, ExtendedFields, FileTemplates ...

... but even better

In addition to the <<upload>> macro, an entry in Backstage is also provided. An experimental UploadToHomeMacro using HomeParameters shadowed tiddler is also released, for now, as a separate plugin.

A lot of small enhancements (better messages, debugMode ...) and better reliability.

And the good news are that UploadLog :
  • is optional,
  • is automatically truncated,
  • stores only the last uploads.

This new release includes also new versions of : UploadOptions, UploadPluginDoc, UploadForm, UploadPluginLingoFR, UploadPluginLingoEN. All tagged Upload

UploadPlugin requires PasswordOptionPlugin in your TiddlyWiki and an UploadService on the WebServer to store the TiddlyWiki file. Even if UploadPlugin 4.1 is compatible with previous store scripts, the easiest script to set up is store.php version 1.6.0

Since TiddlyWiki 2.2 is in beta stage, you will find this release at http://tiddlylab.bidix.info/#Upload and also in the SVN repository at http://trac.tiddlywiki.org/tiddlywiki/browser/Trunk/contributors/BidiX

Comments and suggestions are welcome.

Enjoy,

—BidiX
http://tiddlywiki.bidix.info

When the TiddlyWiki needs to be saved the tiddler named IsDirty contains ' * ' else it is empty. IsDirty tiddler is also appended in front of the browser page title.

Hint: Put it in front of your SiteTitle in your PageTemplate or in your MainMenu as an indicator.

Try to edit this tiddler.

For now IsDirty:

This plugin provides a RSSReader for TiddlyWiki. If TiddlyWiki is viewed over HTTP, RSSReaderPlugin requires a ProxyService.

See examples : RSSFeed.
See documentation : RSSReaderPluginDoc

if NestedSlidersPlugin is available, item contents are folded.

Why a ProxyService

When a TiddlyWiki is located on the web (view over http), for security reasons, browsers do not allow TiddlyWiki to access a remote page located on a different site.

For example, when views over http a TiddlyWiki is unable to:

A first possibility is to bypass the browser check. However, visitors usually are not comfortable with altering the security options of their browser.

The ProxyService provides an other way.

How it works

ProxyService is mainly a ServerSide script that implements a very simple proxy. proxy.php is a ProxyService.

The command: proxy.php?url=host.domain.com/some/page.html simply gets and returns the content of the url, provided that this access is allowed. The access is allowed :
  • to a list of site contained in a separate file
  • to hosts of the same domain.
Nevertheless, this service should not be used for other purpose than as TiddlyWiki companion and under the TiddlyWiki owner's control.

Installing proxy.php

  1. Upload proxy.php to your site
  2. Edit and Upload allowedsites.txt
  3. Verify your installation. From your tiddlywiki accessed over HTTP go to :
    1. proxy.php?help
    2. proxy.php?list
    3. proxy.php?url=http://www.tiddlywiki.com/
  4. Optionally, if you can limit access to proxy.php by requesting basic-auth in your .htaccess file.

How to setup in TiddlyWiki

In TiddlyWiki viewed over HTTP, provided that a ProxyService is available, for an access to a remote site (for example http://host.domain.com/some/page.html) , you should use the ProxyService (like proxy.php?url=http://host.domain.com/some/page.html).

Fortunately, LoadRemoteFileThroughProxy appends the content of SiteProxy in front of the url used by the core LoadRemoteFile function only when the TiddlyWiki is viewed over http. With this small extension it is possible to use directly ImportTiddlers when TiddlyWiki is viewed over HTTP.

Thanks to UploadToFileMacro, allowedsites.txt can be maintained in TiddlyWiki by editing allowedsites.txt and using upload allowedsites.txt to file allowedsites.txt macro.
  1. install download.php as a file on the webserver in the TiddlyWiki folder. Perhaps near by store.php
  2. Simply put [[download|download.php?]] in the SideBarOptions of TiddlyWiki*
  3. download as an attachement in one click on this link when viewed over HTTP

* If it is named index.html else put [[download|download.php?file=yourTW.html]]
GenerateRssByTagPlugin overwrite the core generateRSS() function. And defines a txtRssTag option : to specify the tag to use (defaulted to "toRSS" ).

Only tiddlers with this specific tag are inluded in the RSSFeed. If no tiddlers are selected then works with the old behaviour. (see ticket #270: http://trac.tiddlywiki.org/tiddlywiki/ticket/270).

Because the generateRSS mechanism should change in TW 2.3 this enhancement should not go in the core .

Hint : You can add <<option txtRssTag>> in AdvancedOptions
Thanks to a number of enhancements in TiddlyWiki2.2.0. I'm pleased to announce WebDAVSavingPlugin.

WebDAVSavingPlugin permits to a TiddlyWiki viewed over HTTP to save changes using the WebDAV protocol. It works exactly in the same way that saveChanges does on a local disk, but on a website provided that it is WebDAV enabled.

This "save to webDAV" doesn't require any kind of ServerSide component and uses the standard TiddlyWiki Options :
SaveBackups
AutoSave
GenerateAnRssFeed
SaveEmptyTemplate
Folder name for backup files:

The main functionalities are :
  • save backup
  • save RSS
  • save an empty.html
  • save main file

The plugin also checks for WebDAV capability and create remote folders if needed by the backup folder option (specified as a relative path).

Since TiddlyWiki 2.2 is in beta stage, you will find it at http://tiddlylab.bidix.info/#WebDAVSavingPlugin and also in the svn repository at http://trac.tiddlywiki.org/tiddlywiki/browser/Trunk/contributors/BidiX/plugins/WebDAVSavingPlugin.js

Comments and suggestions are welcome.

Enjoy,

—BidiX
http://tiddlywiki.bidix.info