Pavulon87

Download: (Pav32) Retrieve Link Titles

24 posts in this topic

File Name: (Pav32) Retrieve Link Titles
File Submitter: Pavulon87
File Submitted: 20 Oct 2011
File Updated: 24 Oct 2011
File Category: Hooks and Plugins

Modification change url's to BBCode with page title.
For example: http:// mysite.com will be changed to [ url="http:// mysite.com"]My Site[/ url]
http://mysite.com -> My Site

Also availble on: http://forum.invisio...ve-link-titles/

Click here to download this file

Share this post


Link to post
Share on other sites

Ok, I've thought that the modification was able to parse the link's title, but it doesn't. Only if you include the url between the bbc.

Share this post


Link to post
Share on other sites

This hook will look for addresses in post content. If it found something like http://google.com it will load that page(http://google.com) in search of <title> html tag.
If found, it will change the address to the bbcode with found title of the page.

Longer loading may occur only during checking the page title when you save the post.

Share this post


Link to post
Share on other sites

Hi,

Does it have any timeout? how much time to request the title? It's 5 seconds
Does it parse external and internal links too?

Thanks

Share this post


Link to post
Share on other sites

Yes, it have 5 seconds timeout and it parses external and internal links.


This is simple hook at this moment.




Thanks ... it's simple but a very usefully hook. Google will love it :)

Share this post


Link to post
Share on other sites

Just tested and it retrieves the title when we are in a private forum
It shouldn't since you're sending the refer (this is the behavor of vbseo), of should?

How about quick reply? it doesn't work?

thanks

Share this post


Link to post
Share on other sites

Hi,

Something you need to solve ... when we paste a url to a video (youtube) you get the link with the title and not the embedded video.

Thanks

Share this post


Link to post
Share on other sites

i got a problem, some internal links get broken, at least the ones related to private areas, like the URL in the mail sent from a comment in a report

im using HTML email:
Text shown:


Contenido reportado: http://www.SomeSiteNa...post__p__527488

Ver reporte: Conéctate - Some Site

HTML source:

"/><a target="_blank" rel="external" title="Vínculo Externo" href="">http://www.SomeSit...post__<wbr/>p__527488</a><br/> Ver reporte: <a target="_blank" title="" href="">Conéctate - Some Site</a><br/>



Contenido reportado: <a target="_blank" title="" href="http://www.SomeSite.com/topic/36529-confesionario-parte-6/page__view__findpost__p__527488http://www.grupoandr...post__p__527488http://www.SomeSite.com/index.php?app=core&amp;module=reports&amp;do=show_report&amp;rid=1503

Share this post


Link to post
Share on other sites

I've found an issue with my board. When i activate your (great) hook, ipcontent loads very slowly (27s to load main page). If a desactivate hook, all is ok.

an idea ?

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.