Hi BJ,

Great, thank you!

One more question: I created a new rule so that I can have both defaultSnip and ReaderViewSnip. both seem to work but I was wondering if the fact that I replaced the shadow tiddler $:/plugins/bj/tiddlyclip/sublink.jswith a custom version is the correct way to proceed? (I don't know how JS modules work in TW)

Regards
Erwan


On 28/01/16 20:46, BJ wrote:

Hi Erwan,


it is possible to do what you want with the present tiddlyclip. Your uri has been encode, and so needs to be decoded. This can be achieved by adding a new tiddlyclip macro. The easiest way to do this is to clone an existing one, so clone $:/plugins/bj/tiddlyclip/sublink.js, and change the text to:


|exports.name ="decodeuri"; exports.run = function(uri) { return decodeURIComponent(uri); } |

then in the snip rule replace ((*@pageRef*)) with ((*@decodeuri(@pageRef)*))


all the best

BJ


On Thursday, January 28, 2016 at 4:03:29 PM UTC, Erwan wrote:

    Hi BJ,

    First thank you for your plugin, it's so useful to me!
    I use it to collect news articles, so that I can later search by
    keyword and find the source.

    I would only have one small feature request: I sometimes use the
    "reader view" option in firefox
    
<https://support.mozilla.org/en-US/kb/firefox-reader-view-clutter-free-web-pages>,
    and if I "snip" content when the option is enabled then the url in
    the tiddler is not correct. For instance instead of
    
"http://www.theguardian.com/politics/2016/jan/27/cameron-too-close-to-google-say-critics-130m-tax-deal";
    
<http://www.theguardian.com/politics/2016/jan/27/cameron-too-close-to-google-say-critics-130m-tax-deal>
    (normal mode) it becomes
    
"about:reader?url=http%3A%2F%2Fwww.theguardian.com%2Fpolitics%2F2016%2Fjan%2F27%2Fcameron-too-close-to-google-say-critics-130m-tax-deal"
    (reader view mode), so the link doesn't work.

    It would be nice to have the link working also in reader view
    mode, if it's not too much of course!

    Regards,
    Erwan


    On 26/01/16 15:19, BJ wrote:
    Hi all,
    I am working on necessary changes to tiddlyclip in order support
    future versions of firefox. As a am current focused on
    tiddlyclip, this would be a good time to let me know of anything
    that you think could be improved or added to tiddlyclip or its
    documentation, or maybe you have a particular use or setup to
    share that could be added to the tiddlyclip's website?

    all the best

    BJ
-- 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 [email protected] <javascript:>.
    To post to this group, send email to [email protected]
    <javascript:>.
    Visit this group at https://groups.google.com/group/tiddlywiki
    <https://groups.google.com/group/tiddlywiki>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/tiddlywiki/822fef39-951f-46c3-ac79-60d27caf4c35%40googlegroups.com
    
<https://groups.google.com/d/msgid/tiddlywiki/822fef39-951f-46c3-ac79-60d27caf4c35%40googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout
    <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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
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/5a8281b6-f99c-48cd-9751-1c9eeb34cf05%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/5a8281b6-f99c-48cd-9751-1c9eeb34cf05%40googlegroups.com?utm_medium=email&utm_source=footer>.
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 [email protected].
To post to this group, send email to [email protected].
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/56AB9E6E.2080305%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to