Welcome to WebmasterWorld Guest from 54.159.24.159

Forum Moderators: not2easy

Message Too Old, No Replies

How Does Copied Content Automatically Include a Read More Link?

     
2:47 am on Feb 10, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 24, 2004
posts:388
votes: 0


I am wondering if someone can educate me on how a certain web function is programmed into content. Here is the situation: I was visiting a Time magazine business page and decided to copy a couple of sentences to include in my blog (referenced of course). When I copied and then pasted I noticed that it automatically included a Read More link (includes full URL). So I tried it again this time with less than a full sentence and again the Read More link is included. I tried again with only a few words and this time no Read More link.

So my question, how exactly do they do this? I assume there is some minimum word count needed before the Read More link is included.
3:50 am on Feb 10, 2010 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:6142
votes: 280


A sentence or two might be okay under fair use, but I do have to ask if you've actually looked at the underlying words/code that got copied? I always look at whatever I cut and paste. Merely a heads up.
1:47 pm on Feb 10, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 24, 2004
posts:388
votes: 0


Thanks, but my point is how do they do this so the Read More shows automatically when it is copied and pasted? I did look at the code and can't tell how this is done.
8:07 pm on Feb 10, 2010 (gmt 0)

New User

5+ Year Member

joined:Feb 10, 2010
posts: 9
votes: 0


PaulPA,
What do you mean by "I copied"? How did you copy this content?
In any case look at the source of the page (HTML) and try to get what you need from there or first paste to Notepad, edit then copy and paste to your site.
8:38 pm on Feb 10, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Feb 12, 2006
posts:2493
votes: 22


you can do it with javascript. there's a site called tynt that does it for you if you don't mind adding their script.
8:52 pm on Feb 10, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 15, 2003
posts:2395
votes: 0


I've seen that as well. It's on some major media sites. When you mark a sentence or two with the mouse and choose "copy" what is copied to the clipboard is your selection plus something extra, including a link to the page.

Al londrum wrote above, it's javascript. It's not all that complicated but it's rather annoying IMHO (I prefer to add and format the links myself).
9:02 pm on Feb 10, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:July 26, 2006
posts:1619
votes: 0


I have a script in Visual Basic for ASP pages that does it if that is the language your site is in.
9:13 pm on Feb 11, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 24, 2004
posts:388
votes: 0


Thanks to all. I'm not sure I'm really interested in adding it to my site as it is annoying. I was more curious as to how it is done.