Skip to main content

Cheat Sheet to convert social media sharing address



Here is how you can share social media sharing URL when we can't  use Non-alphanumeric characters. 

So to include a colon (:), slash (/), ampersand (&), question mark (?), etc., we have to use (gulp) the HTML numeric code for that character.


http://www.yoursite.com/yourbookpage/?detail&buy


To use this inside of one of the social networking site’s URL’s, we’re going to need to change all of those non-letter characters to HTML codes. Here’s that cheat sheet I was talking about.
Change the colon (:) to %3A
Change all slashes (/) to %2F
Change all question marks (?) to %3F
Change all ampersands (&) to %26
Change all spaces ( ) to %20

When you make those substitutions, your URL will look like this:


http%3A%2F% 2Fwww.yoursite.com%2Fyourbookpage%2F%3Fdetail&buy


Ugly, but browsers will read them just fine. To create those social links just replace the bit that matches our dummy address above with your own.

Facebook: For this link, we’re going to replace the web page URL, which goes after the “u=” attribute, and we’re also going to pre-enter some text (the author’s name and the book’s title, in this example) after the “t=” attribute. For that text, instead of using %20 for spaces, use the plus symbol (+).


https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.yoursite.com%2Fyourbookpage%2F%3Fdetail&26;buy&t=Your+Name+-+Your+Title&display=popup


Twitter: This link is easy; just paste our doctored URL after the “url=” attribute:


https://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.yoursite.com%2Fyourbookpage%2F%3Fdetail&26;buy


Pinterest: For this link, we’re going to use your web page’s actual, undoctored URL, and we’re again going to pre-enter some text—your name, the book’s title, and more text (the short description, for example) after the “description=” attribute.

This time, we’re using %20 for spaces. We are also going to need a web address for your cover art (here called “cover.jpg”) which goes after the “media=” attribute.


http://pinterest.com/pin/create/button/?url=http://www.yoursite.com/yourbookpage/?detail&buy&media=http://www.yoursite.com/yourbookpage/images/cover.jpg&description=The%20best%20book%20ever%20written%20blah%20blah

Comments

Popular posts from this blog

Unusual websites

1. BugMeNot - instantly get disposable login details for any popular website that forces you to register. 2. DailyLit - read your favorite books by email (on your PC, mobile, etc.). 3. FranceRadio - neat MP3 Search Engine that lets you Find, Play and Download favorite MP3s for FREE. 4. Google SMS - provides mobile users with a quick access (via SMS) to a wide range of practical information and tools (i.e. business listings (pizzerias, shops, etc.), weather, movie listings, driving directions, currency converter and lots more. 5. Podlinez - listen to your favorite podcasts from any phone. Just enter the RSS feed URL for the desired podcast and get a free-toll number to access it from a phone. 6. RetailMeNot - locate fresh discount coupons for thousands of web merchants and services right from your browser toolbar. Video demo . 7. SoLow - on a daily basis SoLow auctions 4 different items (iPhones, HD Screens, etc.). Anyone with a mobile/PC can participate in the auctions by ...

7 website to Update your life other than Facebook

There are many other websites other than FB,G+,Twitter to update your social life.I will list some of them here. 1. eHow eHow teaches you wide array of skills on different topics step-by-step. The content is created by its team of writers, called experts, who create how-to guides on topics from personal hygiene to food recipes. You can learn anything from making a Raspberry Pi Alarm clock to making a scarecrow for your garde 2. http://www.wikihow.com/ WikiHow is another how-to site teaching us how to do things in an organized manner, but it has been modeled as a Wiki. At eHow, the staff themselves are paid to create the guides, but at Wikihow, eveyone can edit, modify, and delete content. So, it’s not just about learning — you can also teach others the valuable skills 3. http://www.howstuffworks.com/ HowStuffWorks is another wonderful website to broaden your horizons, providing you with very unique and interesting information on a wide range of topics. It contains ...

Data Now can be saved on a Drop of DNA of your body

In the new study, researchers from Columbia University and the New York Genome Center ( NYGC ) demonstrated that the algorithm for streaming video on the smartphone can be almost fully unlock the potential of DNA storage and compression of additional information in the four nucleotide bases.   The idea and the general considerations of the recording, storage and retrieval of information in DNA molecules belong to Michael Neumann - Soviet scientist and physicist. In 1964, the magazine "Radio" published an article, which describes the technology of the process and data storage device - Neumann oligonucleotides (MNeimON).  In 2012, geneticists at Harvard University was able to encode a draft of a book of 53,400 words, 11 images and one program. They found that in each cubic millimeter of DNA can be stored 5.5 petabytes of data. A year later, the researchers of the European Bioinformatics Institute managed to save, and then completely remove and play about 0.6 megabytes o...