Is there a place to find beginner information on how to use Public Sidebar? For example, what exactly does one edit to specify the website where the Publice Sidebar will be visible? In $:/PublicSidebar/main should I change publicsidebar.tiddlyspot.com to my site name?
On Friday, August 21, 2015 at 1:33:45 AM UTC-6, Mat wrote: > > Thanks for the explanation and the link BJ. Interesting to read. > > I've updated http://publicsidebar.tiddlyspot.com/ to use hostname. > > <:-) > > > > On Thursday, August 20, 2015 at 9:45:07 PM UTC+2, BJ wrote: >> >> they are defined as >> >> host <http://www.w3schools.com/jsref/prop_loc_host.asp> Sets or returns >> the hostname and port number of a URL hostname >> <http://www.w3schools.com/jsref/prop_loc_hostname.asp> Sets or returns >> the hostname of a URL href >> <http://www.w3schools.com/jsref/prop_loc_href.asp> Sets or returns the >> entire URL origin <http://www.w3schools.com/jsref/prop_loc_origin.asp> >> Returns >> the protocol, hostname and port number of a URL >> see http://www.w3schools.com/jsref/obj_location.asp >> >> Its easier to use hostname so there is less chance that things may break! >> >> >> On Thursday, August 20, 2015 at 6:14:47 PM UTC+1, Mat wrote: >>> >>> Thanks for the kind words guys. >>> >>> @BJ regarding: >>>> >>>> it would be better to use the hostname rather than href as href can >>>> include the #tiddlername (eg publicsidebar.tiddlyspot.com/#PublicMenu) >>>> >>> >>> >>> I tried to deal with this - but please tell me if this is a bad approach >>> - by having the user filter it by *prefix*, i.e; >>> >>> <$set name="loc" value=<<location 'href'>>> >>> <$list filter="[<loc>]+[prefix[http://publicsidebar.tiddlyspot.com]]"> >>> >>> Would hostname still be a better choice? I am unsure what the difference >>> is between host, hostname and origin. >>> >>> <:-) >>> >> -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1a470aa3-f05e-4d81-a624-2903d13a9324%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

