[QUESTION] Meta-Information

Discuss/Upload mods to the EVE-Dev Killboard.
Post Reply
neffets
Greenhorn
Posts: 28
Joined: Fri May 24, 2013 12:06

[QUESTION] Meta-Information

Post by neffets » Sat Mar 28, 2015 21:05

Hey,

i have a question:

I'm using slack, and i kind of like how slacks provides descriptions when posting a link. Example with zkillboard:

Image

This is done with the meta-tag in the header, where informations are stored. In this case:

Code: Select all

	<meta name="twitter:image" content="https://image.eveonline.com/Render/29990_64.png">
	<meta name="twitter:card" content="summary">
	<meta name="og:title" content="Loki | ridehardfox92 | Killmail">
	<meta name="og:url" content="https://zkillboard.com/kill/45570859/">
	<meta name="twitter:description" content="ridehardfox92 (C5 Flight) lost their Loki in Messoya (The Forge). Final Blow by Duke 45561 (Gemeinschaft interstellarer Soeldner) flying in a Sleipnir. Total Value: 930,140,355.33 ISK">
	<meta name="og:description" content="ridehardfox92 (C5 Flight) lost their Loki in Messoya (The Forge). Final Blow by Duke 45561 (Gemeinschaft interstellarer Soeldner) flying in a Sleipnir. Total Value: 930,140,355.33 ISK">
	<meta name="og:image" content="https://image.eveonline.com/Render/29990_128.png">
My questions:
a) Is it possible to write a mod that provides this informations at such an "early" position in the code, and would it be much work?
b) Is this done better in a mod or just a template-adjustment?

Greetings

User avatar
Salvoxia
Developer
Posts: 1523
Joined: Wed Feb 22, 2012 12:11

Re: [QUESTION] Meta-Information

Post by Salvoxia » Mon Mar 30, 2015 08:18

Hi,

without any experience with slack etc but from looking at your HTML code I'd say that's not a problem at all.
Because the kill detail page consists of different templates that are fed different information a mod is required. But that would also make sure the meta information is available on every theme, which is a nice side-effect.

Regards,
Salvoxia

neffets
Greenhorn
Posts: 28
Joined: Fri May 24, 2013 12:06

Re: [QUESTION] Meta-Information

Post by neffets » Tue Mar 31, 2015 01:08

Allright, i will give it a try the next days ;)

User avatar
Salvoxia
Developer
Posts: 1523
Joined: Wed Feb 22, 2012 12:11

Re: [QUESTION] Meta-Information

Post by Salvoxia » Tue Mar 31, 2015 07:22

Looking forward to seeing the results!

neffets
Greenhorn
Posts: 28
Joined: Fri May 24, 2013 12:06

Re: [QUESTION] Meta-Information

Post by neffets » Sat Apr 04, 2015 02:36

Image

I finised displaying results for single kills. however, i thought that it might be nice to have informations for battles, pilots, campaigns etc. too, so it might take a bit until i covered all those sites.

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 10 guests