Hi everyone,--Was working on a project and once again wished that chrome would save files to disk. Well, to make a long story short, here it is. Inspired by TiddlyFox, but I needed to use a Chrome Packaged App. So this will work with Google Chrome, and it might also work with Chrome OS, I have no clue. Regardless, here it is and feel free to email me if you have questions. It is really an alpha version, so use it at your own risk.-Arlen
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRH1xz8AG0CcCGcMFA62wAHgPb%2BuYt_jMNs8K2EhunuqQ%40mail.gmail.com.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a975d0d6-ed31-44a3-9d4b-80918cb07b10%40googlegroups.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6131aaf0-ac6f-4962-8a07-47037be6c63f%40googlegroups.com.
Hi everyone,Was working on a project and once again wished that chrome would save files to disk. Well, to make a long story short, here it is. Inspired by TiddlyFox, but I needed to use a Chrome Packaged App. So this will work with Google Chrome, and it might also work with Chrome OS, I have no clue. Regardless, here it is and feel free to email me if you have questions. It is really an alpha version, so use it at your own risk.-Arlen
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRH1xz8AG0CcCGcMFA62wAHgPb%2BuYt_jMNs8K2EhunuqQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/BLU436-SMTP13936CD83642AE20E57F2DFCE900%40phx.gbl.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5395186d-8ec5-4da3-9ba5-1067a4910f18%40googlegroups.com.
/*\title: $:/plugins/Arlen/Chrome/saver.jstype: application/javascriptmodule-type: saver
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cfecb9f8-da8c-4d27-b467-e6c62edce5f9%40googlegroups.com.
Make sure you have the saver tiddler in the tiddlywiki. It won't actually take effect till you save it and reopen it. Second, make sure you open it from the Chrome Apps list, not just in a regular tab.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/01c1a6b5-465e-43e6-a548-7032b2cddf06%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9e54e0fb-1163-47e1-862e-3583d7f13c52%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/nKxU_ixVKTI/unsubscribe.
To unsubscribe from this group and all its topics, 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRmn3Kh0ZHHz3ZP%3D5DZAWgFH%2BOvEBR9ciqem5Zb7h95xA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAK-Y%3DBCw3gKAgf24%2B3%3DdKtNKXway8YNWUWZk4oLPVw%2BhivBs8w%40mail.gmail.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cfe7194b-13a3-4ca2-b57e-a77dd0af1251%40googlegroups.com.
The js file is a saver module for TiddlyWiki. Just drop it into your wiki. Is clearly stated at the first post.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f77afbbd-97b9-46b9-b783-31c64e6f6f51%40googlegroups.com.
Ok, to install, go to Chrome menu > More tools > Extensions and then drag the crx file over the list of extensions. No, you don't need the dev version. I made this using the stable version of chrome. An up to date version of Chrome is recommended, but Chrome usually keeps itself up to date anyway, so that shouldn't be a problem for most people.tiddlyChromeSaver.js is the saver to use in your tiddlywiki. Copy the contents into a tiddler and set the field module-type with value "saver". You'll need to do this in a browser where you can save changes, or else download the file and open it again.
-Arlen
On Wed, Jul 8, 2015 at 1:45 PM, PMario <pmar...@gmail.com> wrote:
Hi Arlen,
Some installation instructions would be nice. I don't use Chrome, except for testing purpose. So I have no idea, what to do with those files.
-mario
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a975d0d6-ed31-44a3-9d4b-80918cb07b10%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8621abb3-2ff2-4dab-9155-2abd24d6746c%40googlegroups.com.
What do you mean "drop it into your wiki"?
Do you mean that i have to embed the code into each and every html file just on the off chance I'm going to use it with Chrome?
if I recall, the version for Firefox I only had to have in the same folder/directory.
Is this the way we are going now?
Have to bloat the html files with browser specific code for each and every possible browser that could be used in a multi-platform environment.
Thanks Danielo,
Yes, this is for TW5, but hopefully soon TWC will come too. I apologize for not making it clearer. I actually much prefer the java saver to anything else, as it worked on Chrome. But TW5 has not had anything to allow saving on Chrome.
I don't have much time, but if anyone else wants to contribute to it you are welcome to. I have released the current code into the public domain, so just remember that if you contribute.
I've posted some stuff on the Readme, so if anyone is wondering how to contribute, feel free to take a look.
-Arlen
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/75feaaa3-ecbe-4745-bc4c-5d742188aef1%40googlegroups.com.
El miércoles, 22 de julio de 2015, 0:47:01 (UTC+2), Anton Aylward escribió:
...
"Bloat" doesn't always mean "size", sometimes it means "unwarranted complexity and distraction".
I'm sure you think that embedded adverts in many apps are a distraction; some people pay to get rid of them even though the "plus" version of the app offers no great other enhancement.
The situation I’m facing is having the file in the cloud, In one sense size => bandwidth => startup response.
But the real kicker is the number of different browsers that might be used. Well, Ok a couple are for testing to make sure things always look acceptable.
But having to replicate the likes of this for half a dozen or more browsers ... things get complicated.
It gets complicated for support as well if some ancillary file needs to be on the portable device, or -shock/horror - at a particular location on the portable device. Not all <strike>salesmen</strike> end users are technically sophisticated enough to manage that.
"Bloat" doesn't always mean "size", sometimes it means "unwarranted complexity and distraction".
But the real kicker is the number of different browsers that might be used. Well, Ok a couple are for testing to make sure things always look acceptable.
But having to replicate the likes of this for half a dozen or more browsers ... things get complicated.
It gets complicated for support as well if some ancillary file needs to be on the portable device, or -shock/horror - at a particular location on the portable device. Not all <strike>salesmen</strike> end users are technically sophisticated enough to manage that.
The latest version doesn't use the TiddlyChromeSaver.js tiddler anymore, but instead loads the saver directly into the $tw variable. The next version will probably be decoupled and use the tiddlyfox plugin, assuming I can find a way to make TiddlyFox see a file URL in the location. Currently it is a blob URL. I think there is a way, it just messes with CORS.
A couple things to note is that it is probably not be able to read or write other files, even backups, although downloads will still show up in a regular chrome window when initiated from the app. This is on Chrome, regardless of what saver I use.
One other thing the next version should have is double-checking the path on save and if it isn't the same as the one that is open then it would return false so $tw knows to try the next saver.
That's all my comments, so we'll see once whether I am able to get to it, but as I said, for a standard TiddlyWiki that has $tw on the window object, it now works fine. If there is some strange corner case, then you probably know how to adapt my code for your own use anyway. :)
Classic is disabled for now though, as I still need to add code to make sure saveFile is being called with some other file in mind (which was, I assume, possible with the Java saver). Even if it wasn't it's a good thing to check.
And yes, look in the releases in GitHub for the latest version.
https://github.com/Arlen22/tiddly-chrome-app
-Arlen
@Jeremy and @ArlenWhat would it take to make this as official as TiddlyFox? It is AFAICT needed just as much.
I'm referring to making it as available (via Google Play?) and to have it as documented on tiddlywiki.com as TiddlyFox.@Jeremy - unless already suggested in this long thread - could the tiddlyChromeSaver.js be included in the standard TW distro? Few features are as fundamental as being able to update, i.e overwrite, ones local notes. I figure it should sit along with $:/core/modules/savers/tiddlyfox.js -?
@Arlen - Please update the initial post in this thread to have attachments of the latest files. Or, if possible, perhaps some link to a place where the latest versions are hosted (here?). I almost installed the files from the initial post which would have given a poorer experience of your creation, of course.
Thank you!<:-)
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/777d774d-27f1-4d32-b5b6-4410769ffa24%40googlegroups.com.
[...] assuming I can find a way to make TiddlyFox see a file URL in the location.
If there is some strange corner case, then you probably know how to adapt my code for your own use anyway. :)
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0270e40f-3239-4208-b6f3-e16489f418a3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/76D0A603-582B-479D-990B-5136D49111D5%40gmail.com.
I've updated the readme and the releases page. Let me know if that works. Feel free to link to either one.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR-A9ng8KmkUq2BiBEKVAemJ5jrLTtn3tuJM_YEB2b2%2BA%40mail.gmail.com.
Hello Vlad,
With Chrome Apps currently heading out the door within the next year, I will have to see once what is worth doing.
Getting the classic saver working would be worth doing, though, if I can find the time. But I don't know when that will happen.
However, there is a plugin for Firefox called TiddlyFox which allows TiddlyWiki classic to work similar to how it was intended. Try using Firefox with that plugin installed.
For me to support TWC, I am going to need to figure out how it works. A couple sanity checks may be required to make sure the file being written is the file that is intended. I'm not sure if TWC can use that mechanism for writing other files as well, which is no longer supported by browsers.
Hope that helps,
-Arlen
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1ce2a1ea-602e-47d4-99a5-3d62b6b070ef%40googlegroups.com.