X hits on this document

7 views

0 shares

0 downloads

0 comments

1 / 2

Adding Post To MySpace to Your Site

What Is Post To MySpace?

By adding the Post To MySpace (PTM) link, your visitors can easily share content from your site to their favorite sections of MySpace. With just a few clicks your content is visible across the largest social network in the world. With over 300+ million users, PTM offers the opportunity to significantly increase traffic back to your site.

Stuff You Should Know Before Adding PTM

Adding a PTM link to your site is easy but should be performed by someone with familiarity with simple HTML, including submission forms or JavaScript basics. If you want to automate the process, understanding your Content Management System (CMS) or server side programming is normally necessary.

Step 1) COPY the PTM Link Code

Copy the following code into a prominent location on your page where you want the Post To MySpace link to appear.

<form id="myspacepostto" method="post" action="http://www.myspace.com/index.cfm?fuseaction=postto" target="_blank"> <input type="hidden" name="t" value="TITLE_GOES_HERE" /> <input type="hidden" name="c" value="CONTENT_GOES_HERE" /> <input type="hidden" name="u" value="URL_GOES_HERE" /> <input type="hidden" name="l" value="LOCATION_GOES_HERE" /> <a href="#" onclick="document.getElementById('myspacepostto').submit();return false;"> <img src="" border="0" alt="Post to MySpace!" /> Share on MySpace! </a> </form>

Step 2) REPLACE the Parameter Placeholders with Your Post Info PTM accepts 3 primary parameters: Title, Content, and URL.

  • Only one of these 3 primary parameters is required (i.e. a post must have either a Title, Content, or URL).

  • Replace the corresponding placeholders in the selected code above (TITLE_GOES_HERE, CONTENT_GOES_HERE, URL_GOES_HERE) with the specifics for your post.

  • Both the Title and Content parameters accept un-encoded HTML, such as hyperlinks or embedded images or videos.

  • The Title parameter is limited to 90 characters. The Content parameter is limited to 2000 characters.

  • Be sure to leave the surrounding double quotes while escaping any double quotes that appear within your post (e.g. <input type=”hidden” name=”t” value=“He said \”It’s True!\”” />).

PTM includes a 4th

optional parameter: Location.

  • This parameter determines the default location where the post will appear on MySpace. The user can always change this location later.

  • Replace the LOCATION_GOES_HERE placeholder with one of the literal numeric values in the Location table.

  • If this parameter is not defined, it will default to the “About Me” section.

  • Your Title will appear in the subject line of a Bulletin or Blog while the URL and Content will appear in the main body. For all other targets (including Bulletins), the main body will contain the Title, URL, and Content.

Value

Location

1

Blog

2

Bulletin

3

About Me

4

Who I’d Like to Meet

5

Interests

6

Music

7

Movies

8

Television

9

Books

10

Heroes

Document info
Document views7
Page views7
Page last viewedFri Dec 02 23:06:09 UTC 2016
Pages2
Paragraphs70
Words833

Comments