[tw] Re: Markdown parser bug

2017-04-25 Thread Meta
Thanks, Mario. I've tried the same and can confirm you're right, it works 
as it should on a vanilla TW. However, I still experience the same problem 
in my tiddlywiki even with every other plugin disabled. Any hints on how to 
find the offending tiddler that is causing the markdown plugin to 
malfunction?

On Monday, April 24, 2017 at 2:11:15 AM UTC-5, PMario wrote:
>
> Hi Meta,
>
> I did try a vanilla TW with the markdown plugin installed. Everything 
> works as expected. So I'm pretty sure, it's a side effect from a different 
> plugin. 
>
> -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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/389a429e-21b2-48f7-865e-d0a490dfaef1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Markdown parser bug

2017-04-23 Thread Meta
Hello, first post here. First of all, thank you Jeremy and all other 
developers for this marvelous tool. It's transformed the way I write.

I'm running into a bug with the markdown parser. It renders text in the 
tiddler body fine, but it seems to be throwing errors when it is called 
from other contexts. I get the error "Uncaught TypeError: this.processBlock 
is not a function" when:

   - I navigate to the "References" tab after pressing the "Info" button on 
   any tiddler


   - I try to do anything with markdown tiddlers using the TIddlymap 
   plugin, including its "make connections" button.
   

Neither of these errors occur when the markdown plugin is disabled, so I'm 
fairly sure it must be the culprit, but I was surprised not to find any 
other mentions of this bug on the web.

Thanks in advance for your help!

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/fcc82ea6-813b-4d1d-9df9-860e38419122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Offline editing for wiki hosted under node.js

2015-05-12 Thread Meta
Ah, I see. Thank you, Jeremy!

On Monday, May 4, 2015 at 10:53:03 PM UTC-5, Meta wrote:
>
> Hi,
>
> I'm using Tiddlywiki 5 for my dissertation research. It's a great 
> improvement on the venerable original. I'm very pleased with it so far.
>
> I run Tiddlywiki under node.js from a home server. I like how node.js 
> stores my tiddlywiki as individual tiddlers and allows processing to be 
> done server side, but I would like to be able to edit my wiki offline as 
> well. Would the following work?
>
>1. Sync the server directory containing the tiddlywiki.info and .tid 
>files folder with the client using cloud service like OwnCloud.
>2. Run a local node.js server on the client in order to edit the wiki.
>
> The idea is that any changes made locally will be propogated to the server 
> when the cloud service syncs, but the server's version will still be 
> available to be edited online from other computers. Will this work?
>
> While I'm at it: Are there any dangers in editing the .tid files directly 
> using a text editor (assuming you don't mess up the syntax)?
>
> Thank you!
> Josh
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/47821dbd-ae93-40fc-bb37-ec522dea269b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Offline editing for wiki hosted under node.js

2015-05-04 Thread Meta
Hi,

I'm using Tiddlywiki 5 for my dissertation research. It's a great 
improvement on the venerable original. I'm very pleased with it so far.

I run Tiddlywiki under node.js from a home server. I like how node.js 
stores my tiddlywiki as individual tiddlers and allows processing to be 
done server side, but I would like to be able to edit my wiki offline as 
well. Would the following work?

   1. Sync the server directory the tiddlywiki.info and .tid files with the 
   client using cloud service like OwnCloud.
   2. Run a local node.js server on the client in order to edit the wiki.

The idea is that any changes made locally will be propogated to the server 
when the cloud service syncs, but the server's version will still be 
available to be edited online from other computers. Will this work?

While I'm at it: Are there any dangers in editing the .tid files directly 
using a text editor (assuming you don't mess up the syntax)?

Thank you!
Josh

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/45e86f01-88b0-4665-a9de-1227e87562bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Is there a way to show a PDF thumbnail?

2013-06-09 Thread Meta
Your best bet would be to look into Mozilla's pdf.js. It's an open source PDF 
rendering engine written in Javascript.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [tw] Re: Displaying inline pdfs using pdf.js

2012-07-11 Thread Meta
I would also be interested to see this

On Tuesday, July 10, 2012 11:47:40 PM UTC+8, Craig in Calgary wrote:
>
> I finally ended up with both iframes and objects and to display my menus 
>> in front of them, I put an iframe shim in a tiddler and transclude that 
>> tiddler into my menu. It was a little trick with the search plugin im using 
>> but i used the div examples in pagetemplate for displaying tiddlers and it 
>> works there also.
>>
> Would you consider sharing your TW magic with the community? I learn much 
> from taking apart the successful work of others. Besides, I haven't been 
> able to get local PDFs to render in an iframe yet. Thanks.
>
> Craig
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/DzWVXVNzEq4J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: SearchOptionsPlugin tweak possible?

2012-07-05 Thread Meta
Have you tried UdoBrokowski's YourSearchPlugin? 
http://tiddlywiki.abego-software.de/#YourSearchPlugin

On Friday, July 6, 2012 9:40:05 AM UTC+10, David Gifford wrote:
>
> Hi all,
>
> Is it possible to tweak SearchOptionsPlugin in a way that displays the 
> contents of the tiddlers found after the link to the title of the tiddler? 
> That would make my TiddlyNoteThingy (*
> http://www.giffmex.org/tiddlynotethingy.html*) work even better, since 
> most of the tiddler titles would be time and date stamps...Just curious...
>
> Dave
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/yxPGQbrzrcUJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Introducing TiddlyNoteThingy!

2012-07-05 Thread Meta
Also, are indexes supposed to be tagged by "$1" by default, or is that a 
bug?

On Friday, July 6, 2012 8:58:31 AM UTC+10, David Gifford wrote:
>
> Yeah yeah I know, I am obsessed with tweaking TiddlyWiki for note-taking - 
> NoteStorm, etc.
>
> Here is my latest brainchild, TiddlyNoteThingy. Features not found in 
> NoteStorm:
> 1. No need to title or tag tiddlers, just add content to topical indexes. 
> Nice for quickly adding content on the go.
> 2. What appears in the indexes is not the tiddler title link but the 
> actual content of the tiddler, with an unobtrusive link to the tiddler at 
> the end. So you don't need to open tiddlers to see them.
> 3. RandomTiddler button to see random notes you have added.
> 4. Some note-taking tips for TiddlyNoteThingy.
>
> If you download it, read the instructions and tips, and play with it for 
> about 15 minutes, you may get hooked. Totally new way of using TiddlyWiki.
>
> Link:
> http://www.giffmex.org/tiddlynotethingy.html
>
> I would love your feedback, and may incorporate your suggestions.
>
> Dave
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/L5ZVZ678GpEJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Introducing TiddlyNoteThingy!

2012-07-05 Thread Meta
Very nice. One small bug: Clicking "edit custom formats" under special 
formatting returns an "undefined" popup in FF13 (Linux).

Some features I'd like to see:

   - Starting page shows a list of recent notes from all indexes
   - Notes within an index can be sorted in different ways (alphabetically, 
   modified, custom fields...)
   
Meta

On Friday, July 6, 2012 11:29:28 AM UTC+10, David Gifford wrote:
>
> Update: I had a change of heart about how to handle tiddler titles. The 
> link is the same, but the indexes now show the tiddler title for the note 
> directly above the note content. The instructions in the file will explain 
> why.
>
> Also, I created a separate file with several examples of how TNT can be 
> used: http://www.giffmex.org/tiddlynotethingyexamples.html
>
> Dave
>
> On Thursday, July 5, 2012 5:58:31 PM UTC-5, David Gifford wrote:
>>
>> Yeah yeah I know, I am obsessed with tweaking TiddlyWiki for note-taking 
>> - NoteStorm, etc.
>>
>> Here is my latest brainchild, TiddlyNoteThingy. Features not found in 
>> NoteStorm:
>> 1. No need to title or tag tiddlers, just add content to topical indexes. 
>> Nice for quickly adding content on the go.
>> 2. What appears in the indexes is not the tiddler title link but the 
>> actual content of the tiddler, with an unobtrusive link to the tiddler at 
>> the end. So you don't need to open tiddlers to see them.
>> 3. RandomTiddler button to see random notes you have added.
>> 4. Some note-taking tips for TiddlyNoteThingy.
>>
>> If you download it, read the instructions and tips, and play with it for 
>> about 15 minutes, you may get hooked. Totally new way of using TiddlyWiki.
>>
>> Link:
>> http://www.giffmex.org/tiddlynotethingy.html
>>
>> I would love your feedback, and may incorporate your suggestions.
>>
>> Dave
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/FYX1CgsJL0oJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Tiddler digest

2012-06-21 Thread Meta
This works just like I want it to:

<= 1 ? m[1] : "";
 count++;
 alert(count);
}
 '

 write
 '(index < 12) ? "|[["+tiddler.title+"]] {{small{(<{{borderleft{"+getFirstLine(tiddler.text)+"}}" + 
((index==3||index==7||index==11) ? "|\n" : "") + ((index==11) ? 
"|widetable|k" : "") : ""'
>>

(okay, maybe it could be a bit prettier...)

On Friday, June 22, 2012 1:40:07 AM UTC+10, Meta wrote:
>
> Great, thanks, works a charm! My next challenge is to make this display in 
> a nice table rather than a vertical list, but I think I can tackle that one.
>
> On Thursday, June 21, 2012 11:14:38 PM UTC+10, whatever wrote:
>>
>> Hi! 
>>
>> Udo has the following two examples for fET on his site: 
>>
>> (1) 
>> http://tiddlywiki.abego-software.de/#[[List%20the%20first%20line%20of%20all%20tiddlers%20with%20the%20tag%20%22basic%22]]
>>  
>> - List the first line of all tiddlers with the tag "basic" 
>> (2) 
>> http://tiddlywiki.abego-software.de/#[[List%20the%2010%20most%20recently%20modified%20tiddlers]]
>>  
>> - List the 10 most recently modified tiddlers 
>>
>> From them, I put together the following code, which works nicely 
>> (beware googlewrap): 
>>
>> <>  where 
>>  'tiddler.tags.contains("booklist")' 
>>  sortBy tiddler.modified descending 
>>  script 
>>  ' 
>>  function getFirstLine(s) { 
>>  var m = s.match(/\s*(.*)/); 
>>  return m != null && m.length >= 1 ? m[1] : ""; 
>>  } 
>>  ' 
>>  write 
>>  '(index < 10) ? "* [["+tiddler.title+"]]\n{{small 
>> borderleft{"+getFirstLine(tiddler.text)+"}}}\n\n" : ""' 
>> >> 
>>
>> HTH 
>> w 
>>
>> On Jun 20, 3:48 pm, Meta  wrote: 
>> > Hi guys, 
>> > 
>> > I'm currently using ForEachTiddler plugin to display a list of recently 
>> > edited tiddlers along with the first line of each. Here is my code: 
>> > 
>> > <> > sortBy 
>> > tiddler.modified 
>> > descending 
>> > 
>> > script ' 
>> > function lastDays(tiddler) { 
>> > var compareDate = new Date(); 
>> > compareDate.setDate(compareDate.getDate() - 5); 
>> > if (tiddler.modified > compareDate && 
>> > !tiddler.tags.contains("excludeLists") && 
>> > !tiddler.tags.contains("systemConfig") && 
>> > tiddler.tags.contains("bookfile")){ 
>> > var previewText = 
>> > tiddler.text.substring(0,150).replace(/(\r\n|\n|\r)/gm," ") + "..."; 
>> >     return "[[" + tiddler.title + "]]\n{{small borderleft{" 
>> + 
>> > previewText + "}}}\n\n";} 
>> > else 
>> > return ""; 
>> > } 
>> > ' 
>> > 
>> > write 'context.output+= lastDays(tiddler) , ""' 
>> > 
>> > begin 'context.output = ""' 
>> > 
>> > end 'context.output 
>> > ? context.output 
>> > : "<> > tiddlers]]\>\>" 
>> > ' 
>> > 
>> > 
>> > 
>> > The problem is that tiddlywiki evidently runs the wikify command *after 
>> *all 
>> > the content has been written, resulting in a number of markup errors 
>> (e.g. 
>> > unclosed //, @@, etc.) 
>> > 
>> > How can I modify this code so that it displays correctly? 
>> > 
>> > Thanks, 
>> > Meta
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/tTPnVdh75ZAJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Tiddler digest

2012-06-21 Thread Meta
Great, thanks, works a charm! My next challenge is to make this display in 
a nice table rather than a vertical list, but I think I can tackle that one.

On Thursday, June 21, 2012 11:14:38 PM UTC+10, whatever wrote:
>
> Hi! 
>
> Udo has the following two examples for fET on his site: 
>
> (1) 
> http://tiddlywiki.abego-software.de/#[[List%20the%20first%20line%20of%20all%20tiddlers%20with%20the%20tag%20%22basic%22]]
>  
> - List the first line of all tiddlers with the tag "basic" 
> (2) 
> http://tiddlywiki.abego-software.de/#[[List%20the%2010%20most%20recently%20modified%20tiddlers]]
>  
> - List the 10 most recently modified tiddlers 
>
> From them, I put together the following code, which works nicely 
> (beware googlewrap): 
>
> <  where 
>  'tiddler.tags.contains("booklist")' 
>  sortBy tiddler.modified descending 
>  script 
>  ' 
>  function getFirstLine(s) { 
>  var m = s.match(/\s*(.*)/); 
>  return m != null && m.length >= 1 ? m[1] : ""; 
>  } 
>  ' 
>  write 
>  '(index < 10) ? "* [["+tiddler.title+"]]\n{{small 
> borderleft{"+getFirstLine(tiddler.text)+"}}}\n\n" : ""' 
> >> 
>
> HTH 
> w 
>
> On Jun 20, 3:48 pm, Meta  wrote: 
> > Hi guys, 
> > 
> > I'm currently using ForEachTiddler plugin to display a list of recently 
> > edited tiddlers along with the first line of each. Here is my code: 
> > 
> > < > sortBy 
> > tiddler.modified 
> > descending 
> > 
> > script ' 
> > function lastDays(tiddler) { 
> > var compareDate = new Date(); 
> > compareDate.setDate(compareDate.getDate() - 5); 
> > if (tiddler.modified > compareDate && 
> > !tiddler.tags.contains("excludeLists") && 
> > !tiddler.tags.contains("systemConfig") && 
> > tiddler.tags.contains("bookfile")){ 
> > var previewText = 
> > tiddler.text.substring(0,150).replace(/(\r\n|\n|\r)/gm," ") + "..."; 
> > return "[[" + tiddler.title + "]]\n{{small borderleft{" 
> + 
> > previewText + "}}}\n\n";} 
> > else 
> > return ""; 
> > } 
> > ' 
> > 
> >     write 'context.output+= lastDays(tiddler) , ""' 
> > 
> > begin 'context.output = ""' 
> > 
> > end 'context.output 
> > ? context.output 
> > : "< > tiddlers]]\>\>" 
> > ' 
> > 
> > 
> > 
> > The problem is that tiddlywiki evidently runs the wikify command *after 
> *all 
> > the content has been written, resulting in a number of markup errors 
> (e.g. 
> > unclosed //, @@, etc.) 
> > 
> > How can I modify this code so that it displays correctly? 
> > 
> > Thanks, 
> > Meta

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/6fUSIYaNmb4J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Tiddler digest

2012-06-20 Thread Meta
Hi guys,

I'm currently using ForEachTiddler plugin to display a list of recently 
edited tiddlers along with the first line of each. Here is my code:

< compareDate && 
!tiddler.tags.contains("excludeLists") && 
!tiddler.tags.contains("systemConfig") && 
tiddler.tags.contains("bookfile")){
var previewText = 
tiddler.text.substring(0,150).replace(/(\r\n|\n|\r)/gm," ") + "...";
return "[[" + tiddler.title + "]]\n{{small borderleft{" + 
previewText + "}}}\n\n";}
else 
return ""; 
}
'

write 'context.output+= lastDays(tiddler) , ""'

begin 'context.output = ""'

end 'context.output
? context.output
: "<\>"
'
>>

The problem is that tiddlywiki evidently runs the wikify command *after *all 
the content has been written, resulting in a number of markup errors (e.g. 
unclosed //, @@, etc.)

How can I modify this code so that it displays correctly?

Thanks,
Meta

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/E01Ui-2VES8J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Displaying inline pdfs using pdf.js

2012-05-12 Thread Meta
Thanks for your suggestion Måns. The main drawback of using the Google
document viewer is, as that site says, that the pdfs need to be
online. I like to use Tiddlywiki to organise my local pdf collection.
I have the Tiddlywiki generate a listing based on the pdf files in a
certain directory and want to develop a template that will allow me to
easily navigate back and forth between the text of the pdf and my
notes on it. So far PMario's browser plugin solution is working quite
well, but I'm still planning to look into writing a tiddlywiki plugin
for maximum portability.

P.S. PMario, I just discovered your "simplicity" tiddlyspace and I
really love it!

On May 11, 6:30 am, Måns  wrote:
> Hi Meta
>
> I use google's document viewer via an iframe for showing pdfs and
> powepoint presentations in tiddlers ..
>
> Checkout:http://googlesystem.blogspot.com/2009/09/embeddable-google-document-v...
>
> You can easily turn it into a transclusion replacing the url with a
> variable...
>
> [[MyPdfViewer]]
>
> http://docs.google.com/gview?url=$1&embedded=true";
> style="width:600px; height:500px;" frameborder="0">
>
> and use it like this: < address]]>>
>
> Enjoy Måns Mårtensson
>
> On 10 Maj, 18:01, Meta  wrote:
>
>
>
>
>
>
>
> > THanks for your reply mario. Yes, for many purposes the browser plugin
> > may be better, but I still think there are benefits to rendering
> > documents with pdf.js (mainly portability). A compromise would be to
> > load the pdf.js file directly from github. I've tried this and it
> > works. This way it will stay automatically updated, the only downside
> > is no pdf viewing without an internet connection. But then, if your
> > pdf files are also remote this will not be a problem.
>
> > On May 10, 10:28 pm, PMario  wrote:
>
> > > Hi,
> > > This project is quite interesting. But ...
>
> > > I had a look at the github source, 1.3 MByte (uncompressed) is 3 times
> > > as much as a vanilla TW itself. Just for viewing PDFs, I wouldn't want
> > > to carry that around within a TW.
>
> > > I personally would use the browser plugin [1], which will be
> > > automatically updated. There may be plugins for other browsers too.
>
> > > have fun!
> > > -mario
> > > [1]https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Displaying inline pdfs using pdf.js

2012-05-10 Thread Meta
THanks for your reply mario. Yes, for many purposes the browser plugin
may be better, but I still think there are benefits to rendering
documents with pdf.js (mainly portability). A compromise would be to
load the pdf.js file directly from github. I've tried this and it
works. This way it will stay automatically updated, the only downside
is no pdf viewing without an internet connection. But then, if your
pdf files are also remote this will not be a problem.

On May 10, 10:28 pm, PMario  wrote:
> Hi,
> This project is quite interesting. But ...
>
> I had a look at the github source, 1.3 MByte (uncompressed) is 3 times
> as much as a vanilla TW itself. Just for viewing PDFs, I wouldn't want
> to carry that around within a TW.
>
> I personally would use the browser plugin [1], which will be
> automatically updated. There may be plugins for other browsers too.
>
> have fun!
> -mario
> [1]https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Displaying inline pdfs using pdf.js

2012-05-09 Thread Meta
Mozilla's new pdf.js seems ideal for a lightweight method to display
pdfs in tiddlers.

This simple implementation is already practically ideal for this
purpose:
http://jsbin.com/pdfjs-prevnext-v2/edit#html,live

Has anyone tried turning this into a plugin? I've gotten as far as
getting it to display the first page of a pdf inside a tiddler, but
making the back/forward buttons work is testing my skills.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Change content depending on whether TiddlyWiki is being viewed online or locally

2011-02-13 Thread Meta
I've currently got a personal TiddlyWiki set up that I use for
compiling notes and ideas related to my thesis. I take a lot of audio
notes and would like them to be directly accessible from the wiki. I
believe that this would be fairly straightforward if I always accessed
the wiki locally (I'd just insert links to the relevant local files).
However, I also have a copy of the wiki online that I sync with the
local one using LoadTiddlers and UploadPlugin (it works beautifully
and I can even access and edit it from my iPhone).

My idea is to upload the audio files I want to access to a server so
that they're accessible online too. Then I'd need a macro so that the
links to the audio files would point to the local files if the wiki
was accessed locally, and to the online files if it was accessed
online. I imagine I'd type something like

[Audio file|<>file.mp3]

and this would turn into
/home/meta/audio/file.mp3
in thel local version

or
http://www.server.com/file.mp3

in the online version.

Does anything like this exist? Would it be hard to code? (I haven't
tried getting into the the inner workings of TiddlyWiki yet but I'm
comfortable with Javascript/jQuery)

Any pointers are appreciated.

Cheers,
Meta

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.