[tw5] Re: Import an article from wikipedia

2020-08-10 Thread 'Mark S.' via TiddlyWiki
Once upon a time I made a lua filter for conversion: https://groups.google.com/d/msg/tiddlywiki/0Z4F7fBOBgQ/ebTapW6zBgAJ But Pandoc itself uses Haskell (why do they use a separate language for their filters?). So this is not the same as having a native pandoc converter. Another approach is to

[tw5] Re: Import an article from wikipedia

2020-08-10 Thread TW Tones
Folks, Given Wikipedia goes beyond a single edit field and constructs boxes tabs and sections It would make sense to build a tiddler view template for this purpose. Add to that some features to copy to clipboard the result. Tiddlywiki's templating options are mature and feature rich. You coul

[tw5] Re: Import an article from wikipedia

2020-08-10 Thread Joshua Fontany
https://github.com/jeffrey4l/pandoc-addons/blob/master/md2tid.lua https://github.com/tonywoode/unslack/blob/master/mdToTiddly.js https://github.com/tonywoode/unslack/blob/master/tiddlyToMd.js Found these scripts on github. If I poke around, I might be able to make a button that converts a type

[tw5] Re: Import an article from wikipedia

2020-08-10 Thread 'Mark S.' via TiddlyWiki
With 5.1.22 the support for Markdown is greatly improved and allows some Wikitext. The problem with Wikipedia, is that it uses a lot of floating boxes and complicated CSS to get it's look. Getting that look into TW wouldn't be easy, no matter what approach you used. But grabbing the essence of

[tw5] Re: Import an article from wikipedia

2020-08-10 Thread Diego Mesa
Thanks for the response bimlas! Im not so much interested in completeness, as I am being able to edit my local copies of wikipedia articles. I still think integrating tw into pandoc is the way to go On Monday, August 10, 2020 at 7:08:48 AM UTC-5, bimlas wrote: > > Forgot to mention how to save

[tw5] Re: Import an article from wikipedia

2020-08-10 Thread bimlas
Forgot to mention how to save a webpage as a PDF: https://www.digitaltrends.com/computing/how-to-save-a-webpage-as-a-pdf/ -- 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 em

[tw5] Re: Import an article from wikipedia

2020-08-10 Thread bimlas
Diego, In order to preserve references (e.g. web pages) in their entirety in TiddlyWiki, in addition to the copied text, you should also import the images in them, plus convert the formatting to TiddlyWiki syntax. Instead, it's easier to export the website to a separate file. The list of possi

[tw5] Re: Import an article from wikipedia

2020-08-04 Thread Diego Mesa
Thanks for your answer Thomas. I just want to revive this thread in case anyone else has had some luck importing the actual wikipedia/wikimedia markup syntax. On Thursday, June 7, 2018 at 1:30:50 PM UTC-5, Thomas Elmiger wrote: > > Hi Diego, > > When I copy text from websites like Wikipedia I