Forum     

Go Back   Digit Technology Discussion Forum > Bandwidth Wastage > Chit-Chat
Register FAQ Calendar Mark Forums Read

Chit-Chat General discussions about anything that doesn't fit into the other sections to be had here


Reply
 
LinkBack Thread Tools Display Modes
Old 06-09-2011, 04:19 PM   #1 (permalink)
Techno Freak
 
Join Date: Sep 2003
Location: Thinkdigit.com
Posts: 175
Default How does URL in Post get converted to title.


After some Post here, i was really facinated by the thing that , after posting any commnets and post which contains any url.

that Post's Url is converted to Page title of referring page and url is not Visible but is clickable...

how does it work??? i try finding out on GOOGLE but not got any good way..

Can any body help me???

Like this
Samsung tablet ban: What Apple may have to reveal - The Times of India

Above i just copy pasted url and it converted it into page title....
Awesome!!!
suyash_123 is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-09-2011, 04:33 PM   #2 (permalink)
The Warchief
 
Kola2842's Avatar
 
Join Date: Jun 2011
Location: Liberty City
Posts: 1,513
Default Re: How does URL in Post get converted to title.

You can manually set your desired name to url. Follow it
replace "{" with "["

{url=you url}desired url name{/url}
Kola2842 is offline   Reply With Quote
Old 06-09-2011, 04:49 PM   #3 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,938
Default Re: How does URL in Post get converted to title.

^^He didn't meant that. He meant what's the logic behind this conversion from normal URL to URL Tags.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline   Reply With Quote
Old 06-09-2011, 05:52 PM   #4 (permalink)
Jai Suresh
 
lywyre's Avatar
 
Join Date: Aug 2004
Location: Vellore, TN
Posts: 578
Default Re: How does URL in Post get converted to title.

1. Get the HTML of the URL to a javascript object
2. Get the Title of the page from the <title> element.
lywyre is offline   Reply With Quote
Old 06-09-2011, 06:33 PM   #5 (permalink)
Techno Freak
 
Join Date: Sep 2003
Location: Thinkdigit.com
Posts: 175
Default Re: How does URL in Post get converted to title.

this means i have to extract all page details and store in Javascript Object.
and just to extract title of page from object

but here in this forum ,it seems to be happening so quick that i don't think there is complete page load from 3rd party and save only title

i have to try....
suyash_123 is offline   Reply With Quote
Old 06-09-2011, 10:46 PM   #6 (permalink)
iDota
 
Sarath's Avatar
 
Join Date: Apr 2011
Location: Bangalore, Visakhapatnam, Abu Dhabi
Posts: 2,667
Default Re: How does URL in Post get converted to title.

Honestly even I don't know but what is fascinating is how people are misinterpreting OPs query.

However the same doesn't happen to goo.gl and bit.ly links.
__________________

Online Shopping guide - PART IIIPS3™ master guide
Spoiler:

Gaming:♦ PS3 ♣ i5|HD6970 Gaming RIG | Dell U2311H review iΡod & iPhone 4 ♥ Xperia™ Arc review
Audio gear: Logitech Z623 | Klipsch X10 | Siberia V1 | M1 | M2 | CX180 | | | Article/Discussion: PS3™ vs PC
Sarath is offline   Reply With Quote
Old 07-09-2011, 08:13 AM   #7 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: How does URL in Post get converted to title.

^ Hmm really?
Tinyurl - How does URL in Post get converted to title. - Digit Technology Discussion Forum
Goo.gl - How does URL in Post get converted to title. - Digit Technology Discussion Forum
bitly - How does URL in Post get converted to title. - Digit Technology Discussion Forum
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline   Reply With Quote
Old 07-09-2011, 09:43 AM   #8 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: How does URL in Post get converted to title.

I hope you are searching for http://www.vbulletin.org/forum/showthread.php?t=155909

Though, I am not sure if TDF mods have used the same, but it is similar I guess.

Additionally, I fear if it's vulnerable for XSS.
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by bhaskar
- by abhidev
- by icebags

Advertisement




All times are GMT +5.5. The time now is 07:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2