SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
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=quot;myspaceposttoquot; method=quot;postquot; action=quot;http://www.myspace.com/index.cfm?fuseaction=posttoquot;
   target=quot;_blankquot;>
      <input type=quot;hiddenquot; name=quot;tquot; value=quot;TITLE_GOES_HEREquot; />
      <input type=quot;hiddenquot; name=quot;cquot; value=quot;CONTENT_GOES_HEREquot; />
      <input type=quot;hiddenquot; name=quot;uquot; value=quot;URL_GOES_HEREquot; />
      <input type=quot;hiddenquot; name=quot;lquot; value=quot;LOCATION_GOES_HEREquot; />
      <a href=quot;#quot; onclick=quot;document.getElementById('myspacepostto').submit();return false;quot;>
      <img src=quot;quot; border=quot;0quot; alt=quot;Post to MySpace!quot; /> 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
      •
                                                                         Value    Location
           post will appear on MySpace. The user can always change
                                                                         1        Blog
           this location later.
                                                                         2        Bulletin
           Replace the LOCATION_GOES_HERE placeholder with one
      •
                                                                         3        About Me
           of the literal numeric values in the Location table.
                                                                         4        Who I’d Like to Meet
           If this parameter is not defined, it will default to the
      •
                                                                         5        Interests
           “About Me” section.
                                                                         6        Music
           Your Title will appear in the subject line of a Bulletin or
      •
                                                                         7        Movies
           Blog while the URL and Content will appear in the main
                                                                         8        Television
           body. For all other targets (including Bulletins), the main
                                                                         9        Books
           body will contain the Title, URL, and Content.
                                                                         10       Heroes
Samples
  Here is a sample PTM link that posts an image to the user’s “About Me” section. Note the use of
  single quotes in the image tag in the content. Alternatively, they could’ve also used an escaped
  double quote (e.g. src=”http://www.photos.com/userimage.jpg”)

  <form id=quot;myspaceposttoquot; method=quot;postquot; action=quot;http://www.myspace.com/index.cfm?fuseaction=posttoquot;
  target=quot;_blankquot;>
     <input type=quot;hiddenquot; name=quot;tquot; value=quot;Photos from my summer tripquot; />
     <input type=quot;hiddenquot; name=quot;cquot; value=quot;<p>Me at the park</p><img
  src=’http://www.photos.com/userimage.jpg’quot; />
     <input type=quot;hiddenquot; name=quot;uquot; value=quot;http://www.photos.com/userimage.jpgquot; />
     <input type=quot;hiddenquot; name=quot;lquot; value=quot; quot; />
     <a href=quot;#quot; onclick=quot;document.getElementById('myspacepostto').submit();return false;quot;>
     <img src=quot;http://cms.myspacecdn.com/cms/post_myspace_icon.gifquot; border=quot;0quot; alt=quot;Post to MySpace!quot; />
  Share on MySpace!
     </a>
  </form>

  Here is a sample PTM link that posts a simple link back to a news article that will be placed in the
  user’s “Heroes” section.

  <form id=quot;myspaceposttoquot; method=quot;postquot; action=quot;http://www.myspace.com/index.cfm?fuseaction=posttoquot;
  target=quot;_blankquot;>
     <input type=quot;hiddenquot; name=quot;tquot; value=quot;An Important News Article Titlequot; />
     <input type=quot;hiddenquot; name=quot;cquot; value=quot;quot; />
     <input type=quot;hiddenquot; name=quot;uquot; value=quot;http://www.newssite.com/article.php?id=123quot; />
     <input type=quot;hiddenquot; name=quot;lquot; value=quot;10quot; />
     <a href=quot;#quot; onclick=quot;document.getElementById('myspacepostto').submit();return false;quot;>
     <img src=quot;http://cms.myspacecdn.com/cms/post_myspace_icon.gifquot; border=quot;0quot; alt=quot;Post to MySpace!quot; />
  Share on MySpace!
     </a>
  </form>

Implementing PTM as a Get Link
  Alternatively, PTM can be implemented as a Get-based hyperlink by copying the following code into
  your page where you want the PTM link to appear.

  <script type=quot;text/javascriptquot;>
  function GetThis(T, C, U, L)
  {
     var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T)
     + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L;
     window.open(targetUrl);
  }
  </script>

  <a href=quot;javascript:GetThis('TITLE_GOES_HERE',’CONTENT_GOES_HERE’, 'URL_GOES_HERE',
  ‘LOCATION_GOES_HERE’)quot;>
     <img src=quot;http://cms.myspacecdn.com/cms/post_myspace_icon.gifquot; border=quot;0quot; alt=quot;Post to MySpace!quot; />
  Share on MySpace!
  </a>

  Once you’ve cut and paste the code, replace the parameter placeholders as you would for the
  standard implementation.

          When implemented as a Get-based hyperlink the Title parameter is limited to 60 characters
      •
          while the Content parameter is limited to 1000 characters.
          Be sure to leave the surrounding quotes while escaping any single quotes that appear
      •
          within your post (e.g. <a href=quot;javascript:GetThis('That/’s What She Said!',’’, 'http://test.com',
          ‘’)quot;>).

Weitere ähnliche Inhalte

Ähnlich wie Posttomyspacedeveloperdocumentation001

10 WordPress Theme Hacks to Improve Your Site
10 WordPress Theme Hacks to Improve Your Site10 WordPress Theme Hacks to Improve Your Site
10 WordPress Theme Hacks to Improve Your SiteMorten Rand-Hendriksen
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Designwebhostingguy
 
Importance Facebook OG Meta Tags and Twitter OG Meta Tags
Importance Facebook OG Meta Tags and Twitter OG Meta TagsImportance Facebook OG Meta Tags and Twitter OG Meta Tags
Importance Facebook OG Meta Tags and Twitter OG Meta TagsLaxman Kotte
 
Aleph500 How we made it our own
Aleph500 How we made it our ownAleph500 How we made it our own
Aleph500 How we made it our ownBill Drew
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010Brendan Sera-Shriar
 
SEO Best Practices for Web Developers
SEO Best Practices for Web DevelopersSEO Best Practices for Web Developers
SEO Best Practices for Web DevelopersShannon Steffen
 
Html Intro2
Html Intro2Html Intro2
Html Intro2mlackner
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Websurferroop
 
Find The Weird In Austin How And Why Of Local Search
Find The Weird In Austin   How And Why Of Local SearchFind The Weird In Austin   How And Why Of Local Search
Find The Weird In Austin How And Why Of Local SearchIan Strain-Seymour
 
Finding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento CodeFinding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento CodeBen Marks
 
2_Meta_Images_Link.ppt
2_Meta_Images_Link.ppt2_Meta_Images_Link.ppt
2_Meta_Images_Link.pptbenjaminonum1
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateSean Burgess
 
Getting More Traffic From Search Advanced Seo For Developers Presentation
Getting More Traffic From Search  Advanced Seo For Developers PresentationGetting More Traffic From Search  Advanced Seo For Developers Presentation
Getting More Traffic From Search Advanced Seo For Developers PresentationSeo Indonesia
 
Kml Basics Chpt 4 Styles &amp; Icons
Kml Basics Chpt  4   Styles &amp; IconsKml Basics Chpt  4   Styles &amp; Icons
Kml Basics Chpt 4 Styles &amp; Iconstcooper66
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop NotesPamela Fox
 
Building A Website
Building A WebsiteBuilding A Website
Building A Websitemarabeas
 
Designyourownblog.com On-Site SEO Auidt
Designyourownblog.com On-Site SEO AuidtDesignyourownblog.com On-Site SEO Auidt
Designyourownblog.com On-Site SEO AuidtJames Allen
 
Defining Structure Metadata and Layout
Defining Structure Metadata and LayoutDefining Structure Metadata and Layout
Defining Structure Metadata and Layoutjsmith
 

Ähnlich wie Posttomyspacedeveloperdocumentation001 (20)

10 WordPress Theme Hacks to Improve Your Site
10 WordPress Theme Hacks to Improve Your Site10 WordPress Theme Hacks to Improve Your Site
10 WordPress Theme Hacks to Improve Your Site
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Design
 
(SEO) Search Engine Optimization
(SEO) Search Engine Optimization(SEO) Search Engine Optimization
(SEO) Search Engine Optimization
 
Importance Facebook OG Meta Tags and Twitter OG Meta Tags
Importance Facebook OG Meta Tags and Twitter OG Meta TagsImportance Facebook OG Meta Tags and Twitter OG Meta Tags
Importance Facebook OG Meta Tags and Twitter OG Meta Tags
 
Aleph500 How we made it our own
Aleph500 How we made it our ownAleph500 How we made it our own
Aleph500 How we made it our own
 
Seoptimizing
SeoptimizingSeoptimizing
Seoptimizing
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010
 
SEO Best Practices for Web Developers
SEO Best Practices for Web DevelopersSEO Best Practices for Web Developers
SEO Best Practices for Web Developers
 
Html Intro2
Html Intro2Html Intro2
Html Intro2
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Web
 
Find The Weird In Austin How And Why Of Local Search
Find The Weird In Austin   How And Why Of Local SearchFind The Weird In Austin   How And Why Of Local Search
Find The Weird In Austin How And Why Of Local Search
 
Finding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento CodeFinding Your Way: Understanding Magento Code
Finding Your Way: Understanding Magento Code
 
2_Meta_Images_Link.ppt
2_Meta_Images_Link.ppt2_Meta_Images_Link.ppt
2_Meta_Images_Link.ppt
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
Getting More Traffic From Search Advanced Seo For Developers Presentation
Getting More Traffic From Search  Advanced Seo For Developers PresentationGetting More Traffic From Search  Advanced Seo For Developers Presentation
Getting More Traffic From Search Advanced Seo For Developers Presentation
 
Kml Basics Chpt 4 Styles &amp; Icons
Kml Basics Chpt  4   Styles &amp; IconsKml Basics Chpt  4   Styles &amp; Icons
Kml Basics Chpt 4 Styles &amp; Icons
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop Notes
 
Building A Website
Building A WebsiteBuilding A Website
Building A Website
 
Designyourownblog.com On-Site SEO Auidt
Designyourownblog.com On-Site SEO AuidtDesignyourownblog.com On-Site SEO Auidt
Designyourownblog.com On-Site SEO Auidt
 
Defining Structure Metadata and Layout
Defining Structure Metadata and LayoutDefining Structure Metadata and Layout
Defining Structure Metadata and Layout
 

Mehr von allan180871

Mehr von allan180871 (14)

Vacation
VacationVacation
Vacation
 
Themagiccateye
ThemagiccateyeThemagiccateye
Themagiccateye
 
Theattractiveroadsof Russia
Theattractiveroadsof RussiaTheattractiveroadsof Russia
Theattractiveroadsof Russia
 
Whattodo
WhattodoWhattodo
Whattodo
 
Sams Story
Sams StorySams Story
Sams Story
 
Sams Story
Sams StorySams Story
Sams Story
 
Preikestolen En
Preikestolen EnPreikestolen En
Preikestolen En
 
476 Beautes De L Hiverp Copy
476 Beautes De L Hiverp   Copy476 Beautes De L Hiverp   Copy
476 Beautes De L Hiverp Copy
 
Bbq Invitation
Bbq InvitationBbq Invitation
Bbq Invitation
 
Fedra
FedraFedra
Fedra
 
Ice Switzerland
Ice SwitzerlandIce Switzerland
Ice Switzerland
 
NoëL A QuéBec Pe
NoëL A QuéBec PeNoëL A QuéBec Pe
NoëL A QuéBec Pe
 
Winter
WinterWinter
Winter
 
Australia
AustraliaAustralia
Australia
 

Kürzlich hochgeladen

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Kürzlich hochgeladen (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Posttomyspacedeveloperdocumentation001

  • 1. 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=quot;myspaceposttoquot; method=quot;postquot; action=quot;http://www.myspace.com/index.cfm?fuseaction=posttoquot; target=quot;_blankquot;> <input type=quot;hiddenquot; name=quot;tquot; value=quot;TITLE_GOES_HEREquot; /> <input type=quot;hiddenquot; name=quot;cquot; value=quot;CONTENT_GOES_HEREquot; /> <input type=quot;hiddenquot; name=quot;uquot; value=quot;URL_GOES_HEREquot; /> <input type=quot;hiddenquot; name=quot;lquot; value=quot;LOCATION_GOES_HEREquot; /> <a href=quot;#quot; onclick=quot;document.getElementById('myspacepostto').submit();return false;quot;> <img src=quot;quot; border=quot;0quot; alt=quot;Post to MySpace!quot; /> 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 • Value Location post will appear on MySpace. The user can always change 1 Blog this location later. 2 Bulletin Replace the LOCATION_GOES_HERE placeholder with one • 3 About Me of the literal numeric values in the Location table. 4 Who I’d Like to Meet If this parameter is not defined, it will default to the • 5 Interests “About Me” section. 6 Music Your Title will appear in the subject line of a Bulletin or • 7 Movies Blog while the URL and Content will appear in the main 8 Television body. For all other targets (including Bulletins), the main 9 Books body will contain the Title, URL, and Content. 10 Heroes
  • 2. Samples Here is a sample PTM link that posts an image to the user’s “About Me” section. Note the use of single quotes in the image tag in the content. Alternatively, they could’ve also used an escaped double quote (e.g. src=”http://www.photos.com/userimage.jpg”) <form id=quot;myspaceposttoquot; method=quot;postquot; action=quot;http://www.myspace.com/index.cfm?fuseaction=posttoquot; target=quot;_blankquot;> <input type=quot;hiddenquot; name=quot;tquot; value=quot;Photos from my summer tripquot; /> <input type=quot;hiddenquot; name=quot;cquot; value=quot;<p>Me at the park</p><img src=’http://www.photos.com/userimage.jpg’quot; /> <input type=quot;hiddenquot; name=quot;uquot; value=quot;http://www.photos.com/userimage.jpgquot; /> <input type=quot;hiddenquot; name=quot;lquot; value=quot; quot; /> <a href=quot;#quot; onclick=quot;document.getElementById('myspacepostto').submit();return false;quot;> <img src=quot;http://cms.myspacecdn.com/cms/post_myspace_icon.gifquot; border=quot;0quot; alt=quot;Post to MySpace!quot; /> Share on MySpace! </a> </form> Here is a sample PTM link that posts a simple link back to a news article that will be placed in the user’s “Heroes” section. <form id=quot;myspaceposttoquot; method=quot;postquot; action=quot;http://www.myspace.com/index.cfm?fuseaction=posttoquot; target=quot;_blankquot;> <input type=quot;hiddenquot; name=quot;tquot; value=quot;An Important News Article Titlequot; /> <input type=quot;hiddenquot; name=quot;cquot; value=quot;quot; /> <input type=quot;hiddenquot; name=quot;uquot; value=quot;http://www.newssite.com/article.php?id=123quot; /> <input type=quot;hiddenquot; name=quot;lquot; value=quot;10quot; /> <a href=quot;#quot; onclick=quot;document.getElementById('myspacepostto').submit();return false;quot;> <img src=quot;http://cms.myspacecdn.com/cms/post_myspace_icon.gifquot; border=quot;0quot; alt=quot;Post to MySpace!quot; /> Share on MySpace! </a> </form> Implementing PTM as a Get Link Alternatively, PTM can be implemented as a Get-based hyperlink by copying the following code into your page where you want the PTM link to appear. <script type=quot;text/javascriptquot;> function GetThis(T, C, U, L) { var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T) + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L; window.open(targetUrl); } </script> <a href=quot;javascript:GetThis('TITLE_GOES_HERE',’CONTENT_GOES_HERE’, 'URL_GOES_HERE', ‘LOCATION_GOES_HERE’)quot;> <img src=quot;http://cms.myspacecdn.com/cms/post_myspace_icon.gifquot; border=quot;0quot; alt=quot;Post to MySpace!quot; /> Share on MySpace! </a> Once you’ve cut and paste the code, replace the parameter placeholders as you would for the standard implementation. When implemented as a Get-based hyperlink the Title parameter is limited to 60 characters • while the Content parameter is limited to 1000 characters. Be sure to leave the surrounding quotes while escaping any single quotes that appear • within your post (e.g. <a href=quot;javascript:GetThis('That/’s What She Said!',’’, 'http://test.com', ‘’)quot;>).