Re: [tw] [TW5] URL prettify macro, e.g to show git-issue links as #number

2015-06-17 Thread Mat
@Alex

I like your more general prettifying ideas to add icons. It has triggered a 
cool pie-in-the-sky idea that I will detail on TWaddle, partly because it 
diverges from this thread too much and partly because I must think it 
through properly.

Some of those "meta narratives" as you call them really made me laugh. 
"Wikipedia is a whale, TiddlyWiki is a tiddler" Hilarious! Great stuff but 
actually don't let this stuff be hidden and forgotten in this thread.. if 
you haven't done so already, I think you should start a community site that 
collects all your crazy ideas like I am trying to do with TWaddle. You're 
definitely one of the boundary breakers among us! BTW, this OP (prettify 
links..) is intended to be part of a small collection of tools that TW 
blogs/sites can use.

<:-)

-- 
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/007bab3b-15f5-4d3e-8859-5267c933e0aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] URL prettify macro, e.g to show git-issue links as #number

2015-06-17 Thread Mat
@Mario, @Richard

I definitely agree the real "title" would be superior to merely the number. 
We're probably stuck with github for the coming years so it would be useful 
to find a decent solution. And pretty Wikipedia links would of course have 
an even wider use. 


Yes github has an api, but it would create a network request everytime the 
> code is rendered, which may be every keystroke


Can we perhaps *store* the title instead after the first ping? And set a 
flag or a flipswitch check or whatever it's called so that "if already 
stored then don't ping"? (If exists $:/prettyurl/#1755 ...). Only one ping, 
on creating the prettyurl, might also satisfy your justified privacy 
concerns.


<:-)

-- 
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/22004dba-c788-42e3-a8f2-6a99acdbe897%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] URL prettify macro, e.g to show git-issue links as #number

2015-06-17 Thread Alex Hough
Mario,

I agree, it's a pluggin idea. The benefits may not be worth the effort...
However... For educational use...

It could be useful in the case where missing tiddlers come with a 'search
this on Wikipedia' prompt and the user is using Wikipedia as a major
resource.

In TiddlyWiki.com most of the links are to Wikipedia or static
TiddlyWiki.com. Automatically trimming URLs prefixed with TiddlyWiki or
Wikipedia, prettyfyining the slug into human readable form would reduce
visual clutter without the often tedious manual typing of pretty links.

In terms of branding TiddlyWiki and its identify, comparison and closer
integration with Wikipedia could be a good direction to point a branding
strategy;

Drifting off topic here, but concider the following as 'meta narratives',
sentiments note explicitly stated but communicated by 'showing not telling'
and by association.

'TiddlyWiki - your own personal Wikipedia'
Like Wikipedia, but quicker, easier and more flexible
Small is beautiful - (borrowed from Schumacker's small is beautiful, Budist
economics etc
TiddlyWiki - the wiki lovers wiki
Organic wiki - it's growing all the time
The wiki you can grow with
The wiki to grow old with
Wikipedia is a whale, TiddlyWiki is a tiddler...


Best wishes


Alex

On Wednesday, 17 June 2015, PMario  wrote:

> On Wednesday, June 17, 2015 at 9:57:11 AM UTC+2, AlexHough wrote:
>>
>> Mario has a good point, pretty links seem the obvious way to link to
>> GitHub issues as the URL has no meaning.
>>
>> Wikipedia on the other hand has meaningful URLs: if TiddlyWiki could
>> automatically parse Wikipedia links and add a icon.
>>
>
> I think, this is plugin territory. Parsing the eg: Wikipedia URL is very
> specific, and would need slightly different code for different sites.
>
> And since the user taste is different, it needs to be a plugin not the
> core. eg: I personally wouldn't want to get an icon with the link ;)
>
> -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+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/28c26a23-38bb-482a-b2a4-b5f571a0a74b%40googlegroups.com
> 
> .
> 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 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/CALc1hYdnnT4HHABQkBnEjCm_5LRgJZhohQ56X3eyEqGLUOWzMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] URL prettify macro, e.g to show git-issue links as #number

2015-06-17 Thread PMario
On Wednesday, June 17, 2015 at 9:57:11 AM UTC+2, AlexHough wrote:
>
> Mario has a good point, pretty links seem the obvious way to link to 
> GitHub issues as the URL has no meaning.
>
> Wikipedia on the other hand has meaningful URLs: if TiddlyWiki could 
> automatically parse Wikipedia links and add a icon. 
>

I think, this is plugin territory. Parsing the eg: Wikipedia URL is very 
specific, and would need slightly different code for different sites. 

And since the user taste is different, it needs to be a plugin not the 
core. eg: I personally wouldn't want to get an icon with the link ;)

-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+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/28c26a23-38bb-482a-b2a4-b5f571a0a74b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] URL prettify macro, e.g to show git-issue links as #number

2015-06-17 Thread Alex Hough
Mario has a good point, pretty links seem the obvious way to link to GitHub
issues as the URL has no meaning.

Wikipedia on the other hand has meaningful URLs: if TiddlyWiki could
automatically parse Wikipedia links and add a icon.

Wikipedia feels like TiddlyWiki's big brother, it's the wiki everyone knows


Alex

On Wednesday, 17 June 2015, Richard Smith 
wrote:

> Hi Mario,
>
> I think you should only have one vertical bar in the pretty link? ie;
>
> [[github issue: Allow saver to be specified for download|
> https://github.com/Jermolene/TiddlyWiki5/issues/1755]]
>
> I supposed that Mat intended to use it something like this;
>
> github issue: Allow saver to be specified for download (< https://github.com/Jermolene/TiddlyWiki5/issues/1755>>)
>
> Does GitHub have an api that will return the issue title? Or did you mean
> copy-paste?
>
> Regards,
> Richard
>
> --
> 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/0e232bb0-e08d-49d3-89ba-1a6266368321%40googlegroups.com
> .
> 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 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/CALc1hYfMZajtO40C6iG1bu1bxSn7wveEjVX4FTjHhc5Y6vTbtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.