The same with Martin's Formatters - which pull whole wikipedia sites
into a TW.
Is something similar already possible with simple html sites?
Just as the Christians with the bible - as a follower of the Buddha I
would love to be able to pull translated Pali Suttas into a TW on
mass. But pasting a few thousands one by one isn't really feasible.
There are sites offering Pali Sutta translations for free
distribution, for example:
http://www.accesstoinsight.org/tipitaka/index.html
Would this be possible? Any suggestions?
W.
Actually, formatters are the utilities to convert wiki markup to HTML,
so your browser can give you a nice-looking (rendered) output.
What pulls the data from servers are adaptors.
An HTML formatter is already built-in: Just enclose the respective HTML
code in <html>...</html> tags and you're good to go (though you might be
missing external files, like style sheets and scripts).
Automatically pulling content from a regular website is not quite as
easy, as there's usually no interface for TiddlyWiki to work with.
You might be better of using something like HTTrack to create an offline
mirror of the respective website.
HTH.
-- F.
exception: there's an RSS feed.
Sometimes you might have luck that content could be easily extracted
(e.g. if you have content in tables) but most of the time it will
become quite complex.
If you have a web server with PHP, Perl, Ruby... you should go that
way and use a script for prefetching the content (and provide either a
file or a feed to include into TW).
(Of course I expect someone/i.e. Eric could make a plugin, but I doubt
that size and performance would be worth considering using it...)
--
schilke
That would be the really tedious case of copying and pasting thousands
of small single html pages one by one, I actually wanted to avoid with
- to correct the wording of my question - an Html adapter.
On 25 Sep., 00:59, schilke <googlegroups.tt.ch...@xoxy.net> wrote:
> > Automatically pulling content from a regular website is not quite as
> > easy, as there's usually no interface for TiddlyWiki to work with.
>
> exception: there's an RSS feed.
>
(blush..) RSS feed is one of the abbreviations I actually haven't
deciphered yet.
But on the above mentioned side I read under > 'Subscribe to ... with
an RSS feed': 'you will be alerted whenever I update the What's New
page. Once alerted, you can get the full story either by following a
link from the newsreader itself or by visiting the What's New page.'<
As I understand that statement, I only could pull in announcements -
but not the content I'm after?
> Sometimes you might have luck that content could be easily extracted
> (e.g. if you have content in tables) but most of the time it will
> become quite complex.
> If you have a web server with PHP, Perl, Ruby... you should go that
> way and use a script for prefetching the content (and provide either a
> file or a feed to include into TW).
> ...
> schilke
(???...)
> Automatically pulling content from a regular website is not quite as
> easy, as there's usually no interface for TiddlyWiki to work with.
> You might be better of using something like HTTrack to create an offline
> mirror of the respective website.
Actually one could download that whole accesstoinsight.org site as a
14 MB zipped file. But without the advantage to have it searchable, a
single file to take with - and being able to easily combine it with
other sites who provide freely distributed Sutta translations not
covered.
Probably the easiest way to go would be a batch file processing editor
- who would stripe all the thousands small html files of unnecessary
html overhead and save them as txt files. Then adding them with
something like FileDropPlugin.
Does anyone know of such an editor, also not too complicated to
handle?
(actually, if I were already able to follow the Buddha's advise, I
would just let go of TiddlyWiki - as it seems to become a
multiplication of proliferating wants ... gone are the olden days with
the spare time, where one just memorized these Suttas ..)
Regards,
W.
In English: "From Wikipedia, the free encyclopedia"
http://en.wikipedia.org/wiki/RSS
or in German: "Internet-Nachrichtenformat RSS"
http://de.wikipedia.org/wiki/RSS
> Once alerted, you can get the full story either by following a
> link from the newsreader itself or by visiting the What's New page.'
>
> As I understand that statement, I only could pull in announcements -
> but not the content I'm after?
You could simply access the feed directly by klicking on the link. In
Firefox (> 1.5 I think) you could see at least what content will be
delivered. If you want to check out if reading feeds might be a good
idea anyway - I would suggest e.g. to open a "Google Reader" account
http://www.google.com/reader/
> Actually one could download that whole accesstoinsight.org site as a
> 14 MB zipped file
you at least could go this direction
> a batch file processing editor - who would stripe all the thousands
> small html files of unnecessary html overhead
But for the output there are probably better solutions than
> something like FileDropPlugin
I would give Eric's "QuoteOfTheDayPlugin" a try:
http://www.tiddlytools.com/#QuoteOfTheDayPlugin
> Does anyone know of such an editor, also not too complicated to
> handle?
If you don't have something you're used to - you might check out
"NOTEPAD++"
http://notepad-plus.sourceforge.net/
Has a lot of useful features by default or by using plugins.
--
schilke
Wow, haven't seen a TW this way!
Though I will need some time to grasp how to use a bit of its
potential - guess with this editor it indeed will be easy to record a
macro and have my thousand html Suttas batch processed - and just
dropped into a TW.
Great, many thanks for this tip,
W.
What did you like so much?
J.
What is really novel with notepad++ for me is, that in this editor all
the different areas of a TW code are foldable - just as with nested
sliders. In this way one can for example see all the meta-data of each
tiddler line by line. Taken together with the zoom function - and
navigating around the code has never been easier with any editor I
knew. And it doesn't break it.
Regards,
W.
On 27 Sep., 13:48, "JayFresh - http://jayfresh.wordpress.com"
Anyone willing to share?
W.
On 30 Sep., 21:04, wolfgang <wolfgangl...@gmail.com> wrote:
> Hi Jay,
>
> What is really novel with notepad++ for me is, that in this editor all
> the different areas of a TW code are foldable - just as with nested
> sliders. In this way one can for example see all the meta-data of each
> tiddler line by line. Taken together with the zoom function - and
> navigating around the code has never been easier with any editor I
> knew. And it doesn't break it.
>
> Regards,
>
> W.
>
> On 27 Sep., 13:48, "JayFresh -http://jayfresh.wordpress.com"
Eclipse / Aptana, SciTE, Notepad++, MS Paint
-- F.
Regards,
W.
Heh, MSPaint. Same here -- although I've been using Macromedia
Fireworks more and more.
also: vi.
;D
--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)
http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog ::
Things That Suck)
Ken Girard
I tried it out by converting the data fields of TiddlyVault into
tiddler slices. That seemed to work, as the category view with a
forEachTiddler call (translated to slices) does show the same output
as TiddlyVault.
But on a closer look to the slice tiddlers it shows the following
additions:
*In some of them its adding a </tiddler> just after the last vertical
bar of tables (ie. |) - rendering this last line separate, but not as
part of the slice table. The only reason for doing this I could make
out till now seems to be that these slices are particularly long
description slices.
*Particularly long license statements, like Eric's, I entered with a
call of the PartTiddlerPlugin, like <<tiddler legal/eric>>. In these
cases it translates it for no obvious reason as: <<tiddler legal=""
eric="">>
(After a fast check SciTE seems to behave in exactly the same way) -
Does anyone has any idea for this, for me, not understandable
behavior? And how to stop it?
Googeling MS Paint - only the regular MS paint additions comes up. How
to you use that as an editor?
Regards,
W.
this sounds as if the tag auto completion gets involved here - are you
using the TextFX plugin? You could try to disable it:
"TextFX" / "TextFX Settings" / "+Autoclose XHTML/XML <tag>"
> *Particularly long license statements, like Eric's, I entered with a
> call of the PartTiddlerPlugin, like <<tiddler legal/eric>>. In these
> cases it translates it for no obvious reason as: <<tiddler legal=""
> eric="">>
This also seems to be a auto completion function or something like
that. I am not a Notepad++ expert but if you can't find the setting
yourself, I might have a look (if I find the time) later. There are a
few settings to have a look at. Some are built in, others come with
plugins - some will be invoked automatically and some manually by
hotkeys.
HTH
--s
Wow - I hope you didn't waste too much time on that; I was just kidding
there...
Sorry 'bout that.
-- F.
Thanks for the Notepad++ advice. I'll have a look.
PJO
Ha, ha, ha... at least it was a good joke.
Actually Google came up with this link:
http://www.myvideo.de/watch/380702
- where I was wondering how much time the creator of this demo might
have wasted?
> Heh, MSPaint. Same here -- although I've been using Macromedia
> Fireworks more and more.
>
> also: vi.
>
> ;D
But that was kind of over the top..
W.
I disabled all TextFX Settings - and yes, that was the cause for this
trouble.
Thanks,
W.
At last - this would have never happened with something like
MacromediaFireworks ;)
W.
1. It adds a </tiddler> in some tiddlers just after the last | in
tiddlers with only slice tables (however, it does this irrespective of
the length of this slice, contrarily of what I suspected before)
2. It changes a PartTiddlerPlugin call, <<tiddler some/part>> into
<<tiddler some="" part="">>
3. Then it changes macro calls, like <<something>> into
<<something>> (but funnily not with the PartTiddlerPlugin
call)
4. It also changes apostrophes " into \"
Even if all these changes are reverted within notepad and all TextFX
settings turned off - once reopened all these changes appear again.
Does that sound familiar to something?
W.
> > 1. W.
I can't confirm this; having downloaded Notepad++ a few weeks ago and
not having changed a lot of settings, I just opened a TW file and added
some stuff to the store area - works just fine afterwards.
You might wanna ask on their forums[1] or mailing list[2].
-- F.
[1] http://sourceforge.net/forum/?group_id=95717
[2] https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus
And thanks for the hint with help sites for notepad++..
W.
probably there are different versions - or: you turned on some of the
functions by accidentially hit some hotkey. AFAIR you can (re)define
the hotkeys somewhere.
> The other strange thing is that the same happens with SciTE too. So it
> might be a system wide disconfiguration?
it's a usual behaviour that professional text editors modify/reformat
the content of files according to their type - so it's not necessarily
a "system-wide" problem ;)
--s
Actually, SciTE doesn't do any of that AFAIK.
-- F.
interesting. So I have absolutely no idea what's going on there. If I
wouldn't have any experience with browsers I would say it's probably
a browser "feature" (remember the doctype declaration) - but I can't
remember that I have noticed that before...
--s
How does the browser factor into this? ... Maybe I haven't understood
the issue!?
Wolfgang, could you send me your files, both the original and the
modified one, so I can take a look? (Zip them up and send them to me
directly.)
-- F.
Now I continued finding the cause for my difficulties by minimizing
possible causes, like changing the PartTiddlerPlugin call to a simple
Tiddler call.
But even here SciTE in my case seemed to do sort of auto completion to
a <<tiddler sometiddler>> call inside a slice, by turning it into
<<tiddler sometiddler="">> - and adding a </tiddler> after the end.
However, only after viewing in Firefox 2.0.0.7 !
In IE7 (I rarely use) there seems nothing added at the end, and the
macro itself appears as <<TIDDLER sometiddler>> in tiddler edit mode.
With an "Error in macro TIDDLER" massage in view mode. (While Firefox
simple doesn't show anything of the <<tiddler sometiddler="">> in view
mode)
Any ideas why this could be that way even after saving the TW file
with SciTE, if it allegedly shouldn't do such things? Could it be
caused by a browser specific setting or some Firefox extension?
(By the way - what does AFAIK mean?)
Regards,
W.
W.
errm - how do you know, that it's done by SciTE, then?
If this is true:
> In IE7 (I rarely use) there seems nothing added at the end, and the
> macro itself appears as <<TIDDLER sometiddler>> in tiddler edit mode.
probably Firefox indeed "autocloses" your previously opened tag
<<TIDDLER sometiddler>> - because xhtml needs all tags to be closed -
but as said before: I doubt such a behaviour...
> (While Firefox simple doesn't show anything of the
> <<tiddler sometiddler="">> in view mode)
While the tag had been modified - nothing will be interpreted/executed
but treated like all html tags: they are not visible in the rendered
page - only in the html source ;) What makes me pretty sure, that
indeed the document had been modified by some auto completion function
(of SciTE). You should simply open the document in a text editor and
search the line for confirmation.
Or better provide a link to the file ;)
> (By the way - what does AFAIK mean?)
"as far as I know" http://www.noslang.com/
--s
Yes, this would be really strange. I thought it done by SciTE (as well
as notepad++), because after viewing the TW in Firefox and reloading
it in one of the editors the changes always show up also in the
editors. And without having saved them before while viewing with the
browser.
> > (While Firefox simple doesn't show anything of the
> > <<tiddler sometiddler="">> in view mode)
>
> While the tag had been modified - nothing will be interpreted/executed
> but treated like all html tags: they are not visible in the rendered
> page - only in the html source ;) What makes me pretty sure, that
> indeed the document had been modified by some auto completion function
> (of SciTE). You should simply open the document in a text editor and
> search the line for confirmation.
>
> Or better provide a link to the file ;)
>
> > (By the way - what does AFAIK mean?)
>
> "as far as I know"http://www.noslang.com/
>
> --s
Will just send you the file.
W.