[TW5] Preview of new export button

395 views
Skip to first unread message

Jeremy Ruston

unread,
Nov 10, 2014, 4:43:39 PM11/10/14
to TiddlyWiki
I've started work on implementing a new export button, and thought it was worth getting some feedback before the release of 5.1.5.

Inline image 1

You can try out the new feature at:

http://tiddlywiki.com/prerelease/

The export button appears as both a page control toolbar button to export all tiddlers and as a tiddler toolbar button to export an individual tiddler. For ease of testing the export button is shown by default in the prerelease, but it will be hidden by default in 5.1.5. The export button also appears in the results of the advanced search "filter" tab, allowing you to export matching tiddlers in a single operation.

The button initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Issues I've found with it so far:

* OS X Numbers refuses to open CSV files that have been generated in Chrome, because it thinks they’ve been downloaded from the Internet. Firefox works OK
* The export button won’t work within the tiddler info panel, or from the *more* popup (this is because TW5 doesn’t currently support nested popups)

There are more details in the commit:


I'd be interested to learn how you get on using exported CSV files in other apps, and any suggestions or improvements.

Best wishes

Jeremy


--
Jeremy Ruston
mailto:jeremy...@gmail.com

Felix Küppers

unread,
Nov 10, 2014, 5:15:08 PM11/10/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Looks great!

PMario

unread,
Nov 10, 2014, 5:42:18 PM11/10/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Looks good.
It seems to work for me. ... some more testing needed :)
-m

Mat

unread,
Nov 10, 2014, 5:43:56 PM11/10/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Yay!

In exporting to CSV, an looking at tiddler "Adding a Twitter Follow button" I notice the code samples are not transferred but in it's place there's an empty frame (the iframe?) showing. (You'll find it immediately in the CSV if you scroll down.)
Maybe this is standard behaviour, I have no idea.

<:-)

Jeremy Ruston

unread,
Nov 11, 2014, 2:48:53 AM11/11/14
to Mat, TiddlyWiki
Hi Mat

In exporting to CSV, an looking at tiddler "Adding a Twitter Follow button" I notice the code samples are not transferred but in it's place there's an empty frame (the iframe?) showing. (You'll find it immediately in the CSV if you scroll down.)
Maybe this is standard behaviour, I have no idea.

I can't reproduce that issue. I've just exported "Adding a Twitter Follow button" to CSV both as a single file and via exporting the all tiddlers. In both cases, the content in the CSV file matches the content I see in edit mode. Are you reviewing the CSV file in a text editor, or looking at what's displayed in a spreadsheet app?

Best wishes

Jeremy


 

<:-)


On Monday, November 10, 2014 10:43:39 PM UTC+1, Jeremy Ruston wrote:
I've started work on implementing a new export button, and thought it was worth getting some feedback before the release of 5.1.5.

Inline image 1

You can try out the new feature at:

http://tiddlywiki.com/prerelease/

The export button appears as both a page control toolbar button to export all tiddlers and as a tiddler toolbar button to export an individual tiddler. For ease of testing the export button is shown by default in the prerelease, but it will be hidden by default in 5.1.5. The export button also appears in the results of the advanced search "filter" tab, allowing you to export matching tiddlers in a single operation.

The button initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Issues I've found with it so far:

* OS X Numbers refuses to open CSV files that have been generated in Chrome, because it thinks they’ve been downloaded from the Internet. Firefox works OK
* The export button won’t work within the tiddler info panel, or from the *more* popup (this is because TW5 doesn’t currently support nested popups)

There are more details in the commit:


I'd be interested to learn how you get on using exported CSV files in other apps, and any suggestions or improvements.

Best wishes

Jeremy


--
Jeremy Ruston
mailto:jeremy...@gmail.com

Mat

unread,
Nov 11, 2014, 3:50:01 AM11/11/14
to tiddl...@googlegroups.com, matia...@gmail.com, jeremy...@gmail.com
Ah, embarassing; Firefox is set up, probably by me, to ask if I wish to open the file or save it. I simply opened it, thus in Firefox, which showed the strange layut. My bad.

However, another potential issue; Opening the csv in LibreOffice Calc warns that the maximum number of characters per cell is exceeded for csv. Looking at the result I can't really tell, it appears ok. I have not investigated closer, maybe it's some setting or possibly a LibreOffice limitation. But can I ask which are the names of some of the largest tiddlers that should appear there and I'll try to see of they appear ok or not.

<:-)

PMario

unread,
Nov 11, 2014, 5:56:27 AM11/11/14
to tiddl...@googlegroups.com, matia...@gmail.com, jeremy...@gmail.com
On Tuesday, November 11, 2014 9:50:01 AM UTC+1, Mat wrote:
However, another potential issue; Opening the csv in LibreOffice Calc warns that the maximum number of characters per cell is exceeded for csv. Looking at the result I can't really tell, it appears ok. I have not investigated closer, maybe it's some setting or possibly a LibreOffice limitation. But can I ask which are the names of some of the largest tiddlers that should appear there and I'll try to see of they appear ok or not.

It seems to be 64kByte see: http://en.libreofficeforum.org/node/8980
So there shouldn't be  a problem, except for the /all template tiddlers.

-m

Alex Hough

unread,
Nov 11, 2014, 6:25:39 AM11/11/14
to TiddlyWiki
I think there's some confusion with the download button. Maybe *it* should have the pop up with the options and the node version have a different mechanism to show that saving has occurred

Alex

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

Jeremy Ruston

unread,
Nov 11, 2014, 6:38:38 AM11/11/14
to TiddlyWiki
Hi Alex

On Tue, Nov 11, 2014 at 11:23 AM, Alex Hough <r.a....@gmail.com> wrote:
I think there's some confusion with the download button.

The way that both the "save" and "export" buttons have icons that look like boxes containing an arrow is problematic.

It's hard to avoid an icon along these lines for "export" because it's pretty standard. But maybe we could explore alternatives for the "save" icon. Originally, the "save" icon was designed to look like a "download" icon because, of course, some of the time that's what it does.
 
Maybe *it* should have the pop up with the options and the node version have a different mechanism to show that saving has occurred

I'm not sure what you mean? If the "save" icon bought up a dropdown then presumably that would mean it would take two clicks to save, which doesn't seem desirable.

Best wishes

Jeremy
 

Alex

On 11 November 2014 10:56, PMario <pmar...@gmail.com> wrote:
On Tuesday, November 11, 2014 9:50:01 AM UTC+1, Mat wrote:
However, another potential issue; Opening the csv in LibreOffice Calc warns that the maximum number of characters per cell is exceeded for csv. Looking at the result I can't really tell, it appears ok. I have not investigated closer, maybe it's some setting or possibly a LibreOffice limitation. But can I ask which are the names of some of the largest tiddlers that should appear there and I'll try to see of they appear ok or not.

It seems to be 64kByte see: http://en.libreofficeforum.org/node/8980
So there shouldn't be  a problem, except for the /all template tiddlers.

-m

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

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

Ton Gerner

unread,
Nov 11, 2014, 6:39:47 AM11/11/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Jeremy,

Looks great to me.

The only thing I saw was when exporting as 'Plain text.tid tiddler file' only "A Thesis Notebook" by Alberto Molina was exported. I can imagine that only 1 tiddler will be exported (if that is what was intended) but how can you export a certain tiddler instead of just the first one in the list?
Minor issue: the tooltip of the export icon shows 'Export all tiddlers' what is not true in the case of 'Plain text.tid tiddler file'.

Tested with Windows 7 + Firefox 33.1

Cheers,

Ton



On Monday, November 10, 2014 10:43:39 PM UTC+1, Jeremy Ruston wrote:

Jeremy Ruston

unread,
Nov 11, 2014, 7:06:38 AM11/11/14
to Ton Gerner, TiddlyWiki
Hi Ton

The only thing I saw was when exporting as 'Plain text.tid tiddler file' only "A Thesis Notebook" by Alberto Molina was exported. I can imagine that only 1 tiddler will be exported (if that is what was intended) but how can you export a certain tiddler instead of just the first one in the list?

The .tid file format can only contain a single tiddler. So when you use the page export button you end up with a .tid file containing just the first tiddler.

To export a specific tiddler, just navigate to that tiddler and then use the tiddler export button in the tiddler toolbar button.

Minor issue: the tooltip of the export icon shows 'Export all tiddlers' what is not true in the case of 'Plain text.tid tiddler file'.

Yes, that's frustrating but I'm not sure what we can do about it. Maybe we could disable the .tid export format when multiple tiddlers are being exported, so it would only appear on the tiddler export dropdown.

Best wishes

Jeremy

 

Tested with Windows 7 + Firefox 33.1

Cheers,

Ton


On Monday, November 10, 2014 10:43:39 PM UTC+1, Jeremy Ruston wrote:
I've started work on implementing a new export button, and thought it was worth getting some feedback before the release of 5.1.5.

Inline image 1

You can try out the new feature at:

http://tiddlywiki.com/prerelease/

The export button appears as both a page control toolbar button to export all tiddlers and as a tiddler toolbar button to export an individual tiddler. For ease of testing the export button is shown by default in the prerelease, but it will be hidden by default in 5.1.5. The export button also appears in the results of the advanced search "filter" tab, allowing you to export matching tiddlers in a single operation.

The button initially supports exporting as static HTML, CSV, JSON or `.tid` file.

Issues I've found with it so far:

* OS X Numbers refuses to open CSV files that have been generated in Chrome, because it thinks they’ve been downloaded from the Internet. Firefox works OK
* The export button won’t work within the tiddler info panel, or from the *more* popup (this is because TW5 doesn’t currently support nested popups)

There are more details in the commit:


I'd be interested to learn how you get on using exported CSV files in other apps, and any suggestions or improvements.

Best wishes

Jeremy


--
Jeremy Ruston
mailto:jeremy...@gmail.com

Ton Gerner

unread,
Nov 11, 2014, 7:48:22 AM11/11/14
to tiddl...@googlegroups.com, ton.g...@gmail.com, jeremy...@gmail.com
Hi Jeremy,


On Tuesday, November 11, 2014 1:06:38 PM UTC+1, Jeremy Ruston wrote:
Hi Ton

The only thing I saw was when exporting as 'Plain text.tid tiddler file' only "A Thesis Notebook" by Alberto Molina was exported. I can imagine that only 1 tiddler will be exported (if that is what was intended) but how can you export a certain tiddler instead of just the first one in the list?

The .tid file format can only contain a single tiddler. So when you use the page export button you end up with a .tid file containing just the first tiddler.

To export a specific tiddler, just navigate to that tiddler and then use the tiddler export button in the tiddler toolbar button.

Minor issue: the tooltip of the export icon shows 'Export all tiddlers' what is not true in the case of 'Plain text.tid tiddler file'.

Yes, that's frustrating but I'm not sure what we can do about it. Maybe we could disable the .tid export format when multiple tiddlers are being exported, so it would only appear on the tiddler export dropdown.

I forgot there was an export button (with the right tooltip and meaning - just one tiddler) in the Viewtoolbar.
Maybe better to leave out 'Plain text.tid tiddler file' from the dropdown menu of the Pagecontrol Export button?

Cheers,

Ton

Xavier Cazin

unread,
Nov 11, 2014, 11:01:27 AM11/11/14
to tiddl...@googlegroups.com, Ton Gerner
Hello Jeremy,

The .tid file format can only contain a single tiddler. So when you use the page export button you end up with a .tid file containing just the first tiddler.

To export a specific tiddler, just navigate to that tiddler and then use the tiddler export button in the tiddler toolbar button.

Minor issue: the tooltip of the export icon shows 'Export all tiddlers' what is not true in the case of 'Plain text.tid tiddler file'.

Yes, that's frustrating but I'm not sure what we can do about it. Maybe we could disable the .tid export format when multiple tiddlers are being exported, so it would only appear on the tiddler export dropdown.

Probably a very naïve question, but is there a browser constraint for not having a folder filled with the selected tiddlers in this case?

Cheers,
Xavier.

Jeremy Ruston

unread,
Nov 11, 2014, 4:46:36 PM11/11/14
to TiddlyWiki, Ton Gerner
Hi Xavier
 
Probably a very naïve question, but is there a browser constraint for not having a folder filled with the selected tiddlers in this case?

The standard browser download saver can only save a single file at once. We could save multiple files in TiddlyFox or TiddlyDesktop.

I am interested in the possibility of constructing an uncompressed ZIP file containing all the files and downloading the ZIP file instead. It turns out that the ZIP file format allows for uncompressed files, and it's a fairly easy format to write given the good support we've got for binary data in JS.

Best wishes

Jeremy.

 

Cheers,
Xavier.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Blake Blacksmith

unread,
Nov 11, 2014, 5:17:14 PM11/11/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Great news. Can't wait to try out the new export feature!

For your info, I will probably end up using the export feature as a backup and as a means to share my tiddlers with non-TiddlyWiki users.

-Blake

Xavier Cazin

unread,
Nov 12, 2014, 3:53:10 AM11/12/14
to tiddl...@googlegroups.com, Ton Gerner
Hi Jeremy,

Thank you for the explanation. Actually, for my needs (select a bunch of tiddlers to bring them from one Node.js-served TiddlyWiki to another one, the single HTML file would make a good alternative to the uncompressed zip :-)

Thanks again,
Xavier.

-- Xavier Cazin

Danielo Rodríguez

unread,
Nov 12, 2014, 8:51:15 AM11/12/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Since export to tid files is already posible, and tiddlyfox and tiddlydesktop allows you to access the filesystem, will be some kind of sync-adaptor to the local filesystem like node does?

Jeremy Ruston

unread,
Nov 12, 2014, 9:57:54 AM11/12/14
to Danielo Rodríguez, TiddlyWiki
Hi Danielo

Since export to tid files is already posible, and tiddlyfox and tiddlydesktop allows you to access the filesystem, will be some kind of sync-adaptor to the local filesystem like node does?

Yes, one of the possibilities is to have the filesystemadaptor running in TiddlyFox/TiddlyDesktop. But that's a different concern than enabling export of multiple files; with export there's no synchronisation.

Best wishes

Jeremy.

Alex Hough

unread,
Nov 12, 2014, 2:54:51 PM11/12/14
to tiddl...@googlegroups.com
Jeremy,

What I am trying to say is that under node.js the saving is not the same as downloading. The existing download seems to belong its the other new download buttons and a save button belongs to a different class - save to node.


Alex

Jeremy Ruston

unread,
Nov 13, 2014, 3:27:21 AM11/13/14
to TiddlyWiki
Hi Alex
 
What I am trying to say is that under node.js the saving is not the same as downloading. The existing download seems to belong its the other new download buttons and a save button belongs to a different class - save to node.

When running the client-server configuration under Node.js the "save changes" button downloads a snapshot of the current wiki, which is close to what it does in the standalone configuration.

Felix Küppers

unread,
Nov 22, 2014, 7:39:24 AM11/22/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Jeremy,

not sure if this was asked before, but could you name the exported tiddler according to the tiddlersname (minus slashes and all these symbols that would cause conflicts with the os pathname).

Regards
Felix

Danielo Rodríguez

unread,
Nov 22, 2014, 8:25:34 AM11/22/14
to tiddl...@googlegroups.com
I think is not possible because browser limitations. Maybe I'm wrong and it is possible.

Felix Küppers

unread,
Nov 22, 2014, 8:54:13 AM11/22/14
to tiddl...@googlegroups.com
Hi Danielo,


I think is not possible because browser limitations. Maybe I'm wrong and it is possible.

Hmm, it should be possible because at one point the download is named "tiddler.tid".


reads the filename from a field called filename...

Regards
Felix

Felix Küppers

unread,
Nov 22, 2014, 8:55:57 AM11/22/14
to tiddl...@googlegroups.com

Ok I guess I misinterpreted the file but at some point it is decided how to name the download

Jeremy Ruston

unread,
Nov 22, 2014, 9:23:12 AM11/22/14
to TiddlyWiki
Hi Felix

> not sure if this was asked before, but could you name the exported tiddler according to the tiddlersname (minus slashes and all these symbols that would cause conflicts with the os pathname).

Good idea, I've made the necessary changes here:


Note that some browsers ignore the filename that TiddlyWiki specifies, and give the downloaded file a random name. It works on Chrome and Firefox but not Safari in my tests.

I've also uploaded a new prerelease:


Best wishes

Jeremy.


 








On Sat, Nov 22, 2014 at 1:55 PM, Felix Küppers <felixk...@hotmail.de> wrote:

Ok I guess I misinterpreted the file but at some point it is decided how to name the download

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

Felix Küppers

unread,
Nov 25, 2014, 10:38:59 AM11/25/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
The feature to export tiddlers is such a relieve! I am happy it exists.

Tobias Beer

unread,
Nov 25, 2014, 7:03:26 PM11/25/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Felix,
 
The feature to export tiddlers is such a relieve! I am happy it exists.

I have the distinct feeling that you're using that for a very interesting worklflow that I'd like to know more about if you'd want to share.

Best wishes, Tobias. 
Reply all
Reply to author
Forward
0 new messages