Discussion:
[tw] Presenting: RichLinks - external links presented as objects
Mat
2017-05-13 19:44:36 UTC
Permalink
The TWaddler, inspired by a request
<https://groups.google.com/forum/#!topic/tiddlywiki/nwsbRISkYaU>, proudly
presents...

RichLinks <http://richlinks.tiddlyspot.com/>


<:-)


P.S - If you like TiddlyWiki, TELL your friends
<http://tiddlywiki.com/#HelpingTiddlyWiki>.
--
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 ***@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/66aa63bf-e668-4d88-ab50-5202bb36f250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Elmiger
2017-05-14 05:40:08 UTC
Permalink
Hi Mat

Thank you for this really great functionality!

The tweet did not show up for me when I tried yesterday, but it does now. Everything else seemed to work immediately. Great demos!

Have you thought about making a richlink-plugin?

Have a great Sunday,
Thomas
--
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 ***@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/3312213a-7722-4032-83a8-447aa96c92e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-14 10:29:43 UTC
Permalink
Thanks Thomas!

The tweet did not show up for me when I tried yesterday, but it does now.
Interestingly that is how it behaved for me too. But that also happened
when I tried the TW Twitter plugin itself, i.e without RichLink. I believe
a page reload made the tweet appear.
Post by Thomas Elmiger
Everything else seemed to work immediately. Great demos!
I'm curious, does the *soundcloud *link play the song without issues? It
doesn't for me in Chrome but it works in FF. I corresponded with Birthe who
also reported irregularities for different OS's (i.e not browsers). But
again, this is unlikely to have anything to do with RichLink which is just
a "shell".


Have you thought about making a richlink-plugin?
Yeah... but I'm not sure what to put into it. The main macro yes, but much
other stuff is made for customization and none of the templates are
required. And it needs Tobias' split plugin which opens a generally
interesting question on how to present a plugin that requires another (I
posted this issue <https://github.com/Jermolene/TiddlyWiki5/issues/2843>apropos
this).

Thanks for you feedback Thomas!

<:-)
--
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 ***@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/531618bb-ca60-4900-8d2b-75b2a8ead1f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-14 11:31:00 UTC
Permalink
Ciao Mat

Indeed there are issues with Soundcloud in Chrome. I don't understand what
the issue is but users regularly report it.

My 2 cents,
Josiah

Mat wrote...
Post by Mat
I'm curious, does the *soundcloud *link play the song without issues? It
doesn't for me in Chrome
--
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 ***@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/f54bc5b1-9957-48e6-874f-de97df053630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-17 19:04:48 UTC
Permalink
Ciao Mat & Thomas

Just FYI, the JavaScript that supports the Twitter functionality basically
initiates a single, unrepeated talk with "mother Twitter" on load. The
Twitter bits you see are built on load. Occasionally there are glitches in
the to-and-fro with mother. Reload usually sorts them. As you realize,
nothing is visible after a change on Twitter embed stuff until re-load.

Josiah

Mat wrote ...
Thomas ...
The tweet did not show up for me when I tried yesterday, but it does now.
Interestingly that is how it behaved for me too. But that also happened
when I tried the TW Twitter plugin itself, i.e without RichLink. I believe
a page reload made the tweet appear.
--
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 ***@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/ca2161c7-bd4d-4faf-8bdd-9d5a32dd0a61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-14 10:46:38 UTC
Permalink
BTW, anyone who thinks TW should feature something like this as a standard,
please add a like to this github request
<https://github.com/Jermolene/TiddlyWiki5/issues/2857>.

<:-)
--
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 ***@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/7d8e6f89-94bd-4423-95d5-49e0b059fea5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HC Haase
2017-05-15 09:41:05 UTC
Permalink
This is awesome.. would be cool to have this as standard.
Post by Mat
BTW, anyone who thinks TW should feature something like this as a standard,
please add a like to this github request
<https://github.com/Jermolene/TiddlyWiki5/issues/2857>.
<:-)
--
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 ***@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/5bf35342-e8e2-4b59-a7c7-e5c4ce4348fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
PMario
2017-05-15 10:39:28 UTC
Permalink
Post by Mat
BTW, anyone who thinks TW should feature something like this as a standard,
please add a like to this github request
<https://github.com/Jermolene/TiddlyWiki5/issues/2857>.
Not really a fan of this being default. ... eg: If you load content from
3rd parties like ths, you ping them and provide a whole load of information
about your current status and activity. eg: IP address used, which gives a
good approximation of your current location. Content, that you are
interested in, at the current moment ... and so on.

This is a nice plugin, and it should stay that way! Everyone, who wants to
use it, should be able to do so. ... AND ... everyone, who doesn't want to
expose private information, should be free to do so as well.

just my 2cents
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 ***@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/27e64ae9-697c-4f68-9008-f3e69efb8a59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-15 11:20:18 UTC
Permalink
Post by PMario
Post by Mat
BTW, anyone who thinks TW should feature something like this as a standard,
please add a like to this github request
<https://github.com/Jermolene/TiddlyWiki5/issues/2857>.
Not really a fan of this being default. ... eg: If you load content from
3rd parties like ths, you ping them
Let's not throw out the baby with the bath water. The core wouldn't
necessarily have to provide any "pinging" templates at all. It could
feature the equivalent of the richlink main macro and the (customizable)
dictionary, without templates... but, it could (should!) IMO provide at
least templates for *local* files. Many people want to show e.g pdf
documents and it would be super simple for people to make e.g nice image
albums or audio or video libraries for local files.

...AND if the user does want the pinging commercial services, then he can
rather easily make those too.


<:-)
--
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 ***@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/cb434afd-c360-42c9-a84a-f1775ba067e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
PMario
2017-05-15 11:30:56 UTC
Permalink
Hi Mat,

There are several ways to achieve similar results, but if the core dictates
one approach we need to stick with it. In my opinion stuff like this is
perfectly fine as a plugin.

If the core renders external links, they should behave like browser links.
They should open new tabs. .. I personally don't want to open a PDF inside
a tiddler. I want it to be a link to a new tab.

Plugins also have the advantage, that the development can be completely
independent from the core. So the update / feature request cycle can be
much faster.

So my proposal is to improve the plugin discovery mechanism, instead of
including every possible extension into the core.

-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 ***@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/8d59a387-c9ef-41f4-8957-c20f97921682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-15 15:20:58 UTC
Permalink
Cari

I have no idea on the underlying tech issues.

*I do feel we are selling TW short by NOT having ways that users can find
brilliant plugins like Mat's without having to read f***g google groups
24/7. *

So, overall, I feel PMario's "improve the plugin discovery mechanism" is
likely the rightest direction if we want anyone but Constant Readers to
have a clue what is avialable.

Best wishes
Josiah
--
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 ***@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/38a13db9-6dc5-411a-aadd-23a37a06834d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-15 21:33:09 UTC
Permalink
Post by PMario
There are several ways to achieve similar results, but if the core
dictates one approach we need to stick with it. In my opinion stuff like
this is perfectly fine as a plugin.
From a marketing perspective, this is almost a given. IMO this is one of
those things that people expect in modern comparable systems.

It is even so fundamental that much of it is part of HTML5. Integrating it
into TW would only bring the functionality closer to the user for easy
application. To use Josiahs term here above, "we're selling TW short" by
not featuring this in the standard distro.


If the core renders external links, they should behave like browser links.
Post by PMario
They should open new tabs. .. I personally don't want to open a PDF inside
a tiddler. I want it to be a link to a new tab.
Ok, but again, which templates to include is another matter. If no template
is identified for a link... then it's just a normal link.

Actually, I'm reminded of the setting for tiddler titles - "show as text
VS. show as link". External links could be "show embedded (where template
exists) VS. show as plain link".

So: No forced pinging and no forced display - which seem to be your main
objections (and I agree with them!) Rather, only the "infrastructure", i.e
the equivalents of the richlink main macro and the dictionary, to simplify
custom templates.


<:-)
--
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 ***@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/dd0e307c-f744-499a-9639-e9835a91b08b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-14 11:40:34 UTC
Permalink
Great Utility. Both works and also highlights how good/easy TW can be.
These are the kinds of mature utilities we need.

Three suggestions ...

1 - Release it as a proper plugin.

2 - Don't bother with options on the various "sites or file types". Just
wrap them ALL in a plugin (the overhead is small) and give note you can
delete what you don't need and make new ones.

3 - Give one example of using relative paths (is that doable?) such that
you could author locally and then upload & still have it work.

4 - Mention you can use the "Stamp" tool to insert a boilerplate for it in
the editor.

Best wishes
Josiah
Post by Mat
The TWaddler, inspired by a request
<https://groups.google.com/forum/#!topic/tiddlywiki/nwsbRISkYaU>, proudly
presents...
RichLinks
<http://www.google.com/url?q=http%3A%2F%2Frichlinks.tiddlyspot.com%2F&sa=D&sntz=1&usg=AFQjCNGfi83foQq0HULWfm64xvcPiLpydA>
--
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 ***@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/eb60fdf4-40f9-45c5-a3c0-da1348dcb9e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-14 14:32:58 UTC
Permalink
@Josiah,

I updated the Soundcloud demo to mention their users have reported
problems. Thanks for info.
info to mention

1 - Release it as a proper plugin.
Post by @TiddlyTweeter
2 - Don't bother with options on the various "sites or file types". Just
wrap them ALL in a plugin (the overhead is small) and give note you can
delete what you don't need and make new ones.
That's the problem though; you can't delete what you don't want from a
plugin. And even if I add only, say, the main macro and the dictionary into
a plugin, there's still the need for the Split plugin.


3 - Give one example of using relative paths (is that doable?) such that
Post by @TiddlyTweeter
you could author locally and then upload & still have it work.
Please describe a bit more what you mean.


4 - Mention you can use the "Stamp" tool to insert a boilerplate for it in
Post by @TiddlyTweeter
the editor.
Good point. Might look into that. If anyone makes such a stamp, I'd be
happy to include it.


<:-)
--
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 ***@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/c3901cdd-ca16-4f67-9caf-1f18787207a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-14 14:44:39 UTC
Permalink
Mat ...

That's the problem though; you can't delete what you don't want from a
Post by Thomas Elmiger
plugin
Oops, sorry. I never knew!

Josiah
Post by Thomas Elmiger
Post by @TiddlyTweeter
2 - Don't bother with options on the various "sites or file types". Just
wrap them ALL in a plugin (the overhead is small) and give note you can
delete what you don't need and make new ones.
--
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 ***@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/5873174d-0fdd-4404-bc6b-5374d36b1710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-17 13:58:28 UTC
Permalink
Ciao Mat

I did a test as follows that confirms the plugin supports relative paths,
at least for the ".jpg" file type. I haven't tried the other types yet but
assume they will too.

The code...

<<richlink "img/masterdon_havisham_ch8.jpg" "Havisham">>

... works identically for a local TW and for the same TW put online. I hope
this clarifies what I meant. It also answered my own question :-).

Best wishes
Josiah

Mat wrote ...
Josiah suggested ...
3 - Give one example of using relative paths (is that doable?) such that
Post by @TiddlyTweeter
you could author locally and then upload & still have it work.
Please describe a bit more what you mean.
--
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 ***@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/7dd5232d-9651-4829-83c5-8632465c6cdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-18 16:20:35 UTC
Permalink
Josiah,

"relative paths" - OK, I think you're referring to what I would call "local
files".

Thanks for your test! I hadn't investigated this but, yes, it does work -
it is a matter of using a link/path with a supported filetype ending (e.g
....jpg). Any difference in behaviour from external links should not be
because of RichLinks. Anyway, thanks. I should update the docs to make this
clear.


<:-)
--
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 ***@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/60d94821-e919-4f8c-ad06-7be9ad295da2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-18 16:32:57 UTC
Permalink
Ciao Mat

I think of "local files" as just those on my PC. But I think of "relative
links" for use both locally AND online. The point being to create something
that works whatever the context.

J, x
Post by Mat
Josiah,
"relative paths" - OK, I think you're referring to what I would call
"local files".
Thanks for your test! I hadn't investigated this but, yes, it does work -
it is a matter of using a link/path with a supported filetype ending (e.g
....jpg). Any difference in behaviour from external links should not be
because of RichLinks. Anyway, thanks. I should update the docs to make this
clear.
<:-)
--
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 ***@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/66da19ba-b06a-4265-a135-2851351d53eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-05-17 22:36:07 UTC
Permalink
Hi Mat,

Very nice!

Am I missing something -- is there a way to use this with PDF?

Thanks!
Mark
Post by Mat
The TWaddler, inspired by a request
<https://groups.google.com/forum/#!topic/tiddlywiki/nwsbRISkYaU>, proudly
presents...
RichLinks <http://richlinks.tiddlyspot.com/>
<:-)
P.S - If you like TiddlyWiki, TELL your friends
<http://tiddlywiki.com/#HelpingTiddlyWiki>.
--
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 ***@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/9891352f-77bc-4984-b726-8637a6c16376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-18 14:53:01 UTC
Permalink
Ciao Mark S.

It works fine with PDF.

The issue may be PDF does not always work fine with it.

That is not a RichLinks issue per se. Its most likely a browser settings
issue. PDFs can be more complicated than other file types.

As a start I suggest checking the browser settings to ensure that its using
its own "preview" / "viewer" and not a third-party app for PDF.

Best wishes
Josiah
Post by 'Mark S.' via TiddlyWiki
Am I missing something -- is there a way to use this with 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 email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@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/594552e9-0673-4a02-a5f0-357434759d37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-18 15:10:25 UTC
Permalink
Ciao Mat

On the issues for PDF display ... is there a way that the RichLink can
elegantly degrade into a normal link IF an embeddable viewer is not
available?

I'm not sure how much of a regular occurrence PDF display failure in-page
is now. But it does happen because the handling of the PDF file type in
browsers, at least in the past, was quite complex and often involved
invoking 3rd party apps.

Just comments
Josiah
Post by @TiddlyTweeter
Ciao Mark S.
It works fine with PDF.
The issue may be PDF does not always work fine with it.
That is not a RichLinks issue per se. Its most likely a browser settings
issue. PDFs can be more complicated than other file types.
As a start I suggest checking the browser settings to ensure that its
using its own "preview" / "viewer" and not a third-party app for PDF.
Best wishes
Josiah
Post by 'Mark S.' via TiddlyWiki
Am I missing something -- is there a way to use this with 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 email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@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/c0cd8a61-69db-40a8-b156-6394ce13b2ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-18 16:27:08 UTC
Permalink
Josiah,

... is there a way that the RichLinks can elegantly degrade into a normal
link IF an embeddable viewer is not available?
That's a good idea - for all templates! If the rich embedding fails, the
link should show! Currently, nothing is shown which is bad. I'll see what I
can do.

Thanks!

<:-)
--
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 ***@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/33e696e9-f463-44b7-8dda-20110ad57bbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2017-05-18 16:16:43 UTC
Permalink
You're right. I must have done something wrong with my first test.

Text also works, which is good because text doesn't work with
_canonical_uri on my system.

Thanks,
Mark
Post by @TiddlyTweeter
Ciao Mark S.
It works fine with PDF.
The issue may be PDF does not always work fine with it.
That is not a RichLinks issue per se. Its most likely a browser settings
issue. PDFs can be more complicated than other file types.
As a start I suggest checking the browser settings to ensure that its
using its own "preview" / "viewer" and not a third-party app for PDF.
Best wishes
Josiah
Post by 'Mark S.' via TiddlyWiki
Am I missing something -- is there a way to use this with 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 email to tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@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/c3326f35-cd25-49af-af6c-c7ff2e9929e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-18 16:23:06 UTC
Permalink
Mark S,

Am I missing something -- is there a way to use this with PDF?
I felt compelled to split out the demo for PDF
<http://richlinks.tiddlyspot.com/#Richlink%20to%20pdf> because some
browsers insist on triggering download for PDFs. But, yeah, it does work,
and eventual "problems" is likely not because of RichLink.

<:-)
--
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 ***@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/0f916d1b-6784-430d-b718-7d82f945b180%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-19 09:18:24 UTC
Permalink
Ciao Mat

I been looking at the ".txt" file type.

I been looking around to see if there is a simple way to wrap long lines in
"objects" of that type to make texts with long lines wrap so you can
properly read them. I haven't found any. Maybe its a fundamental
limitation? Because its not a part of TW file you can't enforce any styling
on it? I'm not clear if JavaScript might be able to do that or not?

Best wishes
Josiah
Post by Mat
The TWaddler, inspired by a request
<https://groups.google.com/forum/#!topic/tiddlywiki/nwsbRISkYaU>, proudly
presents...
RichLinks <http://richlinks.tiddlyspot.com/>
<:-)
P.S - If you like TiddlyWiki, TELL your friends
<http://tiddlywiki.com/#HelpingTiddlyWiki>.
--
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 ***@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/7d905e40-7e48-4f52-b37f-8170b201e030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-19 13:45:44 UTC
Permalink
Post by @TiddlyTweeter
I been looking at the ".txt" file type.
I been looking around to see if there is a simple way to wrap long lines
in "objects" of that type so you can properly read them. I haven't found
any. Maybe its a fundamental limitation?
Not sure what you mean. Does the text not wrap properly for you in the
object? I.e can you not put anything...

<object data="$link$" type="text/plain" style="width:HERE; height:$height$;
" scrolling:yes>
<a href="$link$" target="_blank">$link$</a> (missing or not supported)
</object>


Because its not a part of TW file you can't enforce any styling on it? I'm
Post by @TiddlyTweeter
not clear if JavaScript might be able to do that or not?
I believe <object> has the same limitations as iframes, i.e that you can
style the object/iframe but not the content because the content is on
someone elses domain. BUT there are tricks that could enable it, involving
JavaScript, where you e.g scrape the content and reproduce it locally. This
would, as far as I can tell, be particularly suitable for plain texts.

<:-)
--
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 ***@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/8324d6a2-8f3b-4c2f-b11f-73d8aecb1a03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-19 14:40:00 UTC
Permalink
Ciao Mat

To clarify, what I am seeing in Firefox on PC is this from your demo ...


Without wrapping of paragraphs to the "object window" width its not really
readable.

Best wishes
Josiah.
Post by Mat
Post by @TiddlyTweeter
I been looking at the ".txt" file type.
I been looking around to see if there is a simple way to wrap long lines
in "objects" of that type so you can properly read them. I haven't found
any. Maybe its a fundamental limitation?
Not sure what you mean. Does the text not wrap properly for you in the
object? I.e can you not put anything...
<object data="$link$" type="text/plain" style="width:HERE; height:$height$
; " scrolling:yes>
<a href="$link$" target="_blank">$link$</a> (missing or not supported)
</object>
Because its not a part of TW file you can't enforce any styling on it? I'm
Post by @TiddlyTweeter
not clear if JavaScript might be able to do that or not?
I believe <object> has the same limitations as iframes, i.e that you can
style the object/iframe but not the content because the content is on
someone elses domain. BUT there are tricks that could enable it, involving
JavaScript, where you e.g scrape the content and reproduce it locally. This
would, as far as I can tell, be particularly suitable for plain texts.
<:-)
--
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 ***@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/2e1a2370-13ef-4f99-a215-549dc36353c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-19 14:58:56 UTC
Permalink
Ciao Mat

I just tried the same in Chrome on PC & it comes wrapped and with correct
paragraph breaks.... like this bit ...


Best wishes
Josiah
--
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 ***@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/c1e40865-9fc1-4dd3-b140-35167015ac71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-05-19 16:57:13 UTC
Permalink
Josiah

.txt files wrapping - You're right. It seems it wraps well in Chrome but
not in Firefox. I googled around but find no solution :-/

Again, of course, this is not because of RichLink, and likely not TW.
Frustrating with all these browser differences.

<:-)
--
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 ***@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/0418b4f5-e995-459f-bf94-a13152e61688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-19 17:24:24 UTC
Permalink
The whole fantasy of "Web standards" makes me apoplectic. Standards, my
ass. Ending up having to deal with someone else's problem basically put me
completely off getting into net stuff beyond the superficial level.

I take my hat off to people who can handle the mess it really is.

*Rant off*

Josiah
Post by @TiddlyTweeter
Josiah
.txt files wrapping - You're right. It seems it wraps well in Chrome but
not in Firefox. I googled around but find no solution :-/
Again, of course, this is not because of RichLink, and likely not TW.
Frustrating with all these browser differences.
<:-)
--
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 ***@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/afc37e6e-beaa-412b-89d2-7ff19959ca20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@TiddlyTweeter
2017-05-19 17:31:33 UTC
Permalink
Ciao Mat

At the practical level its perhaps worth in the documentation noting that
the .txt works WELL in Chrome though poorly in Firefox. Its worth it for
the Chrome IMO, even though I don't use it much, as its is the majority
browser.

Best wìshes
Josiah
Post by @TiddlyTweeter
Josiah
.txt files wrapping - You're right. It seems it wraps well in Chrome but
not in Firefox. I googled around but find no solution :-/
Again, of course, this is not because of RichLink, and likely not TW.
Frustrating with all these browser differences.
<:-)
--
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 ***@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/9db55dc9-9dd2-4139-8dd3-519f25a19260%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Stephen Wilson
2017-11-21 10:01:26 UTC
Permalink
I'm probably just being slow...but how does the syntax for the iframes
one look?

Thought I could update the template to this:

<iframe src="link" width="100%" height="413" style="border:0px;"
allowtransparency="true"></iframe>
<span style="display:block; padding-top:2px; color:#818181; font-size:13px;"
<a href="Direct Link to embeded page" style=" color:#818181; font-size:13px;
" target="_blank">Title</a>, by <a href="Direct Link to home page" style="
color:#818181; font-size:13px;" target="_blank">Homepage name</a></span>
<br>

which looks like:

http://stephenteacher.tiddlyspot.com/#KaTeX%20Functions
Post by @TiddlyTweeter
Ciao Mat
At the practical level its perhaps worth in the documentation noting that
the .txt works WELL in Chrome though poorly in Firefox. Its worth it for
the Chrome IMO, even though I don't use it much, as it is the majority
browser.
Best wìshes
Josiah
Post by @TiddlyTweeter
Josiah
.txt files wrapping - You're right. It seems it wraps well in Chrome but
not in Firefox. I googled around but find no solution :-/
Again, of course, this is not because of RichLink, and likely not TW.
Frustrating with all these browser differences.
<:-)
--
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 ***@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/91753626-9f13-488f-8f17-13b7cf183b6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2017-11-23 15:37:56 UTC
Permalink
@Stephen, I'm guessing you're referring to that the content of your iframe,
i.e the embedded page, does not "adjust" to the size of the iframe, yes?
I'm afraid that is up to the embedded page as far as I know. I believe you
can "clip" the embedded page, using the deprecated but (I think) functional
CSS clip attribute, but it's a bit messy.

On my screen, if I hide the sidebar at least the horizontal scroll is
avoided. Matter of screen size.

<:-)
--
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 ***@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/3f9adfbb-c57c-4a28-b32c-3ffb1e775edc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ste Wilson
2017-11-25 15:07:58 UTC
Permalink
No.. Much simpler question :)

<<richlink "link here">> all works fine.
<<richlink iframe "link here">> or
<<richlink "iframe link here">>

Or any other combination of " and >> I have tried don't get me an iframe :)
--
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 ***@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/1c04f506-2e93-4ede-9691-eb62c581f349%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...