These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Autolink and the /ui/openwindow/newMail API

Author
Jimmy Roth
Sebiestor Tribe
Minmatar Republic
#1 - 2016-09-21 13:07:56 UTC  |  Edited by: Jimmy Roth
I've looked around an it does not appear that CCP has ever released the "Show Character Info" link syntax.
For example the syntax to paste in a recruitment ad is:
/_url=recruitmentAd:98451662//119492_\ Join US!!! /_/url_\
<..............................................................>................<........>
With the new API endpoint, will this syntax be released?
Thanks! Cool

Blacksmoke16 has answered my question. Thanks dude you rock!
Blacksmoke16 wrote:
You can autolink characters in the send mail body by doing it like this. Where the longer string of digits is the character/corporationID of the char/corp you wish to link. The smaller number like 1385 is different for each url as it tells it what type of thing should i be linking, a character, a corp, a recruitment ad etc.

"body": "Hello I am < url=showinfo:1385//2047918291 >BlackSmoke16< /url >, and here is my corp recruitment ad < url=recruitmentAd:98430171//118808 >SeckDeck Industries - The best of the best < /url >"


Note: I had to add spaces before/after each < > in order to post the html here. You'll have to remove those spaces for it to actually link anything when you go to use it.
Blacksmoke16
Imperial Academy
#2 - 2016-09-21 13:33:41 UTC  |  Edited by: Blacksmoke16
There is one.

http://eveonline-third-party-documentation.readthedocs.io/en/latest/crest/character/char_openWindow.html#open-owner-details

EDIT: Your post is asking three different things. This endpoint will open a show info window on a char/corp/alliance. Not sure/doubt that will work to open a corp ad. There is also no openMail endpoint atm. Only market details, info window, specific contracts and new mail template.
Jimmy Roth
Sebiestor Tribe
Minmatar Republic
#3 - 2016-09-21 14:10:55 UTC
I see I was not specific enough.

/ui/openwindow/newmail/

Title: Hello person, join this corp!
Body: This is the body, and here is my corp recruitment ad /_url=recruitmentAd:98451662//119492_\ Join US!!! /_/url_\
RecipientID: [list of ids]


Can we get the syntax to "Autolink" a character?
Blacksmoke16
Imperial Academy
#4 - 2016-09-21 14:42:24 UTC  |  Edited by: Blacksmoke16
Again you are kinda asking two separate things, how to autolink a character and how to autolink a recruitmentAd. I included a sample for both.

You can autolink characters/recruitment ads in the send mail body by doing it like this. Where the longer string of digits is the character/corporationID of the char/corp you wish to link. The smaller number like 1385 is different for each url as it tells it what type of thing should i be linking, a character, a corp, a recruitment ad etc.

"body": "Hello I am < url=showinfo:1385//2047918291 >BlackSmoke16< /url >, and here is my corp recruitment ad < url=recruitmentAd:98430171//118808 >SeckDeck Industries - The best of the best < /url >"


Note: I had to add spaces before/after each < > in order to post the html here. You'll have to remove those spaces for it to actually link anything when you go to use it.
Messenger Of Truth
Butlerian Crusade
#5 - 2016-09-27 14:10:24 UTC  |  Edited by: Messenger Of Truth
Two comments:

* You can find out the format of any of these links by putting them into a chat window, then copying the chat text out of it and pasting into a text editor.

* You can do links for citadels with the url=showinfo: format.... the first number is the type (astrahus etc) and the second number is the location id. This even seems to work for no-longer existing citadels. There doesn't seem to be any checking on the citadel type so you can also make troll links: e.g. link to someone's ctiadel claiming its a palatine keepstar.

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api