http://qs321.pair.com?node_id=11136422


in reply to PerlMonks Shortcuts in Other ChatterBox Clients

Not yet, but it makes sense to have the functionality for expanding shortcuts available through an API. The change in April was so that the website cannot be used to obfuscate URLs for normal web browsers.

I think basically the API would still be to make a GET (or POST) request and get back the resolved URL. The main change would be that it's not a HTTP redirect anymore but in the body.

If you have a better idea for the API, I'm interested in hearing it :)

  • Comment on Re: PerlMonks Shortcuts in Other ChatterBox Clients

Replies are listed 'Best First'.
Re^2: PerlMonks Shortcuts in Other ChatterBox Clients
by choroba (Cardinal) on Sep 03, 2021 at 16:52 UTC
    That's exactly what I would need! Being a pmdev member, I should even be able to provide it to myself... if I can get some pointers on where to start :-)

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      I would look for the code of the various XML tickers - you are already using one - trying to adapt it to your needs.

      IIRC are the link-types defined in a table like structure. The same structure is used to display the help page , so finding the help page and activating code view from the dev nodelet should do.°

      No idea how to create a new ticker, the gods should know.

      HTH :)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

      update

      °) here you go handlelinks settings .

        Thanks, it seems the table is here: handlelinks settings. Now I need to know how to create a ticker.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
A reply falls below the community's threshold of quality. You may see it by logging in.