- Copy
getlinkinfo-v2.php
to your server or website. - Copy
GetLinkInfo.mrc
to your mIRC script directory and load with/load -a scripts/GetLinkInfo.mrc
.- If using your own webserver, change this line to match.
- Any changes can be reloaded with the
/reload -a scripts/GetLinkInfo.mrc
.
getlinkinfo-v2.php?url=ABC
Enable with +/-Linkinfo
when on a channel (and have mod status)
The mIRC script is set to parse for links automatically and feed the url to the hosted phps script when enabled on a channel.
- Toggle for debugging / easy to find where the "title" is located in the pulled HTML.
- Can scrape YouTube titles without an API.
- Output is placed within
<linkinfo>
tags taht can easly parsed by other services. I.e the aforementioend mIRC script. - Lightweight.
- Only requires PHP.
- Shows PHP errors by default.
- Shows preview of Image if an image is found and outputs relevant data:
- Can be enabled (or disabled) per channel by issuing
+/-Linkinfo
as an owner or mod of the script. - Context menu (easily enable or disable silently).
- Ignore user/nick list (edit this line).
- Easy customisable logo and calours for message sent to IRC
- Doesnt work on sites that require cookies and/or Javascript.
- Doesnt work on sites that have more than 20 redirects.
- Depending on your server configureation,
https
connections may not work.