WordPress to MySpace Auto Crossposting

NOTE: Newest Version is LOCATED HERE.

wpmsworkingtogetherEveryone knows that MySpace has a terrible reputation for being a closed system and not allowing developers access to any API. As a result, those of us who run our blogs centrally on self-hosted WordPress installs, as well as many other I’m sure, face the tedious task of manually crossposting to MySpace if you maintain a presence there as well.

Some developers have tried to write plug-ins to do the job, but MySpace is constantly trying to thwart the attempts by relentlessly changing their system.

Fed up with it, I decided to write my own such system and base it on a pretty standard, straight-forward mechanism with the hopes that changes on the MySpace side of things wouldn’t have much effect on the functioning of my code.


In truth, it’s not so much an auto crossposter as it is an auto notifier, but that’s by choice, can be changed on the fly and actually has its advantages.

The first advantage is formatting. I’m rather particular with my formatting and getting MySpace to behave exactly as one wants is, as any user knows, a true pain in the arse. It’s senseless to try to truly format on MySpace, so, I’ve opted to make each new auto entered MySpace blog read as follows:

myspaceblogsingleentry-trimmed

This keeps the format clean, but has a second added advantage: It encourages people to visit my actual WordPress blog, where I want them to be!

A very simple modification would of course post the entire entry, rather than my customized message, but I’ve chosen to go this route with it.

Of course, the entry on the main profile page lists the appropriate title for the blog entry too:

myspaceblog

QUICK INSTRUCTIONS
NOTE: As of August 2, 2007, this script is running fine on a WordPress 2.2 install with PHP 4.3.11, CURL 7.10.6 and MySQL 5.0.18. Though it should run fine on any fairly recent install of these apps, I am here disclosing that the author has only tested it personally and thoroughly on the above install. All others are on their own if it doesn’t work.

NEWEST VERSION IS 2.0a – LOCATED ON THE NEW 2.0 PROJECT PAGE

1.) Save the two files locally

pingmyspace.php
pingmyspace-exec.php

Click on the above links, view the source, and copy and paste each into a new file titled “pingmyspace.php” and “pingmyspace-exec.php”, respectively.

2.) Make minor changes so it works for you.

Modify only the clearly labeled variables at the top of pingmyspace.php with your own information and save.

3.) Upload

Upload the files to your server. Place them anywhere you like preferably in a directory all its own.

4.) Setup the automatic ping

NOTE: Do NOT activate the plug-in on your plugins administration panel. The method of activation is as follows:

In the WordPress Admin panel, select Options > Writing.
In the Update Services box at the bottom of the page, enter the direct URL for the pingmyspace.php file that you just uploaded:

example: http://www.yourdomain.com/yourdirectory/pingmyspace.php

Click Update Options to save.

The next time that you publish to your blog, WordPress will call your pingmyspace.php file automatically and your MySpace blog will be automatically updated!

To test the functionality, you can manually visit the url of your pingmyspace.php file and the last entry that you made will be crossposted to MySpace.

THE CODE

I owe a huge debt to Greg Sidberry over at elsid.net and his MySpace Access Class and by extension Harry Maugan for his MySpace Login with PHP and cURL and Brad Turcotte (brad [at] bradsucks.net) for some initial development. I may clean up my version sometime down the road and stick to the bare bones of the MySpace Login with cURL and a few of my own self-written blog updating functions, but for now I’m using Greg Sidberry’s work and figured that, in the interest of helping others solve the problem, you’d like to see it sooner rather than later.

The code is pretty straight forward. The first step requesting pingmyspace.php does the back-end work of logging into the WordPress database and selecting the latest published entry. It does a little bit of necessary formatting and then simply includes the (modified) MySpace Access Class, establishing the MySpace connection, and then updates the blog with the freshly fetched and formatted data. Simple as that.

Hope this is helpful!
##

UPDATE – JUNE 9, 2007 – NEW VERSION 1.1a

At the urging of Greg Sidberry ( elsid.net ), this code has been submitted to WordPress as a plug-in.

Many thanks to Andrew Brenton ( fxetc.com ) for submitting a mod to prevent accidental repeated crossposting to MySpace. His code has been incorporated into the latest release.

NEW FILES
Instructions remain primarily the same (as given above) but the new files for the latest version are here:

pingmyspace_v1_1a.php
pingmyspace-exec_v1_1a.php

or

myspacecrossposter_v1_1a.zip

Please note that you should save the files locally and transfer them to your server with the new filenames (pingmyspace_v1_1a.php and pingmyspace-exec_v1_1a.php), not the old pingmyspace.php and pingmyspace-exec.php.

Note that I am not giving any guarantees that I will continue to update or support this code. Future versions may or may not be released. Code is shared as is. You are always welcome to submit mods and if I continue development, suitable mods will be incorporated and full credit given. Future releases are entirely dependent upon schedule and availability of time.

UPDATE – JUNE 12, 2007 – NEW VERSION 1.2a

myspacecrossposter_v1_2a.zip

Version 1.2a has been uploaded. This really should have been v1.1.1a, but that’s too many decimals for my liking. The changes here are very minor and current users do not need to move to this new version. The only change is the addition of a verbose output option for testing and troubleshooting. This option will be in all future versions and as there are no major functionality changes, current users can wait until the next major revision to upgrade.

UPDATE – JUNE 13, 2007 – NEW VERSION 1.3a

myspacecrossposter_v1_3a.zip

Another minor change, but important for many users. The method of retrieving and constructing the URL for the post has been modified and will now work with any permalink structure. The previous versions would only accommodate the permalink structure that I use (as I wrote it originally to solve my problem) which is in fact a custom structure. As a result, some people were finding that the plug-in would generate incorrect url’s to their posts. The problem is now fixed and will work for everyone.

UPDATE – JUNE 17, 2007 – NEW VERSION 1.4a

NOTE: If you are unwilling to read and follow the install instructions, do not bother downloading this plugin. THE PLUGIN SHOULD NOT BE ACTIVATED ON YOUR PLUGINS ADMINISTRATION PANEL. Users who do not read the instructions continually get errors when they try this, and then come here to complain about it. If you take the time to FOLLOW THE DIRECTIONS you will find that 9 out of 10 users have no problem at all. I’m more than willing to help out with diagnosing problems as long as you’ve kept up your end of the bargain and have actually read and followed the instructions first.

myspacecrossposter_v1_4a.zip

Added the option to easily choose between posting a notification message on your MySpace blog, or the entire blog entry itself.

Users with non-standard table names in their WordPress install now have more support and can easily set new table names to reference.

UPDATE – SEPTEMBER 11, 2007 – NEW VERSION 2.0a

The code and its operation has undergone a HUGE change. The newest – and easiest to use – version is on THE NEW 2.0 PROJECT PAGE.

COMING VERY SOON

-New option to send out a MySpace bulletin announcing a new blog entry with each blog update.

###
[tags]blogging, Crossposting, cURL, MySpace, MySpace Access Class, MySpace crossposting, PHP, ping, pinging, plugin, WordPress, wp[/tags]

198 thoughts on “WordPress to MySpace Auto Crossposting

  1. Mega Millions, Powerball, Lotto 6/49, Super 7, Euro million, New York Lotto – Be the Next Jackpot Winner With The Only Online Service That Enables You To Purchase Official Lottery Tickets From Around The World.

  2. Hi,

    I’m triyng to embed this plugin in my wordpress mu based website. I want that to hide the database settings and auto insert default values, and get the blog_id in table, like:

    host= default value
    db user = default value

    table posts= wp_$blog_id_posts
    postmeta= wp_blog_id_postmeta

    the data above must be hidden

    How can i do that????

    Thanks!

  3. I’ve tried to get this plugin to work and I’m not getting any errors, nor are the posts showing up on Myspace. I do get the post on my site. Someone said to look in the wp_options table and see if the myspace login info was there. I didn’t see it there. Any ideas why this may be? I’d love for this thing to work.

  4. I’m getting the “posts to WordPress but not to MySpace” with no error messages. Using WordPress 2.7.1 and crossposter v2.0a. Anyone find a solution yet?

  5. Tired of a competitor’s site? Hinder the enemy? Fed pioneers or copywriters?

    Kill their sites! How? We will help you in this!
    Obstructions of any site, portal, shop!

    Different types of attacks: Date-attack, Trash, Attack, Attack, etc. Intellectual
    You can work on schedule, as well as the simultaneous attack of several sites.

    On average the data, ordered the site falls within 5 minutes after the start. As a demonstration of our capabilities, allows screening.

    Our prices

    24 hours of attack – $ 70
    12 hours of the attack – $ 50
    1 hour attack – $ 25

    Contact via ICQ: 588 666 582

  6. I saw that Casey Fronczek is offering fishing trips now down in south Florida. Does anybody have any input on these trips or has anyone been on one of these trips before?

  7. sun cruz casino cruise monti casino south africa crown casino buffet melbourne .rehab at the hard rock casino hollywood seminole casino ann summers casino cour de alene idaho casino .poker palace casino kulosaaren casino .mesquite casino deals garden city casino san jose le casino cinema antibes tulalip casino weddings .but seneca buffalo casino .this .about .that was i’m with sega saturn haunted casino spielbank casino berlin as a result of This website about site http://www.mohicannorthstar.com mohican northstar casino In minneapolis mn casino san manuel casino jobs Best atlantic city casino trips As so Well Links las vegas the m casino rent download casino royale and this is the best resource on Purchase giant vegas casino or recreational owning a online casino halifax casino new years everest casino nepal Ok, here casino magazine vegas palms casino review palms casino laughlin majestic pines casino If schloss berg casino Ok, here
    pinnacle casino ac florida casino .So can commerce casino ca stuff star city casino jobs and this is the best resource on new leeds casino .and again .may be .In now para bailar casino showboat casino too In the what are casino poker chips made of should not comanche casino oklahoma new castle casino ok fort mcdowell indian casino trailer park boys casino regina This website has information on prime casino Is the so .

  8. quite spamming you dipshits. nobody cares what you are selling. nobody here wants viagra, webhosting, site design, etc etc.
    If we did, we would find you.
    Now eat shit please

  9. Pingback: WordPress to MySpace Auto Crossposting « Gregory Reese Technology Research

  10. >>> IIA ANOU 18 EAO <<<

    http://91.212.210.176/sites-images/movie/images/photos/40.jpg http://91.212.210.176/sites-images/movie/images/photos/10.jpg
    http://91.212.210.176/sites-images/movie/images/photos/193.jpg http://91.212.210.176/sites-images/movie/images/photos/62.jpg

    выглядит клитор
    порно сеточка
    группа тату секс
    порно израиль
    порнография просмотр
    видео порно мультиков
    групповой секс женщины
    privat com порно
    реальные секс встречи
    орехово зуево секс

    Партнерка Секс
    Секс Коже
    Sex Porno Foto – порево фильм онлайн
    Эротика Гимнастика – порно ролик онлайн
    Порно Приморье
    Sex Тв – порнуха видео скачать
    Видео Приколы 3gp Безплатно
    Red Tube Porno
    Порно Саиты
    Занимаюсь Анальным Сексом
    Фото Голых Писек Девочек
    Мужской Секс Порно
    Секс Солигорск
    Секс Порно Пятигорск
    Порно Видео Картинки
    Фото Женского Клитора
    Порно Галерея Фото Hairy Girls
    Жирный Мужик Ебет
    Секс Фотоприколы
    Порно Фото 35
    Секс Фото Коллекция – порнуха фильмы смотреть
    Порно Голых Негритянок
    Секс Л
    Женская Секс Обувь
    Red Porn
    Сиськатые Тёлки
    Зрелые Секс Фото
    Порно Бельё
    Секс Портал Фото
    Порно Фото Девствениц
    Girl Порно
    Topic Порно
    Порнофильмы Купить
    Русские Порно Клипы
    Секс Жена
    Крупное Порно
    Японцы Порно – порево фильмы скачать
    Загрузки Эротика
    Классное Видео Порно
    Порно Фото Влагалище Крупно
    Видео Ролик Салаты
    Секс Тверь
    Порно Фото Рыжих
    Библии Секса Пол Джоанидис
    Порно Молоденьких Девочек – порево видео-ролик скачать
    Porno Belladonna
    Побритые Письки
    Порно Видео Крупным Планом

    порно секс невесты
    сергей писька
    письки маленьких мальчиков
    видео ролики сиськи
    порно фольмы
    секс порно сын выебал маму
    порно галереи мужчин
    секс знакомства миасс
    оральный секс заболевания
    большие сиськи титьки
    порно дествиниц
    пасадене секс
    любительское порно xxx
    секс ликбез
    секс девки
    две девушки занимаются сексом
    православие оральный секс
    анжеро судженск секс
    снимал секс фото
    сергиев посад порно
    3d виртуальный секс
    красивые голые девушки эротика обои
    секс рекомендации

  11. You will find cheap GHD Hair Straighteners, all over the ghd internet. There are many good places to look, and you do not have to settle for a used ghd item to get a discount. If you are like some people that are looking for cheap GHD Hair Straighteners, you might be considering ghd straighteners making the mistake of buying from expensive salons that claim to have items on sale, because you feel that buying from a salon guarantees that the item will sell you a good quality item.

    But what you should realise is that these stylists are buying from the same ghd discount sources that you could buy from directly if you shop online. All you are doing is giving them extra ghd straighteners money. You can purchase these items yourself, at the same rate that salon ghd owners are paying for it.

    You can find every type of GHD Hair Straightener when you are shopping online, and ghd you will find it at good rates. Some of the most popular cheap GHDs that you will find include ghd straighteners the standard GHD Hair Straightener, and the GHD Mini Styler.

    Do not feel that you are not qualified to choose the type of ghd GHD Hair Straightener that will meet your needs. You can feel confident that just about any GHD Hair Straightener wiill work well for you. If you have shorter hair, or will be travelling a lot with your GHD Hair Straightener, you might want to consider purchasing the GHD Mini Styler. But you must consider ghd straighteners that the standard model will work for all lengths, and hair textures. If you do not want to use a lot of heat on your ghd hair, just make sure that the cheap GHD Hair Straightener you choose has temperature control, and a low ghd setting. It is truly as simple as that.

  12. [size=24][b]Live Cam Guy Free Join[/b][/size]

    How to get [b]FREE access[/b] to [b]Live Cam Guy[/b]

    I really wanted a password to Live Cam Guy. I wanted to see this hot video so bad…

    I’ve finally found an offer to get free access to Live Cam Guy.

    1. Click the site link below

    2. Click to join…fill in your email and password

    3. Verify your age with a CC…(Don’t worry will not be charged)

    4. Watch your email for your…[b]Free Lifetime Membership[/b]!

    Offer Link: http://refer.ccbill.com/cgi-bin/clicks.cgi?ca=916549&pa=2187718&HTML=http://www.livecamguys.com/

    [b]Related Searches:[/b] Live Cam Guy Signup / Live Cam Guy Password that works / Live Cam Guy Free Porn Password / Live Cam Guy Free Join / Live Cam Guy Working Username / Live Cam Guy Passwords

    Dec 15, 2010 Please visit our [b]free join[/b] page (one account works on the entire SNR Network) to take part in [b]Free Cam Guys[/b] Day!
    [b]cam guy[/b] brian biceps [b]Cam Guys[/b] Brian and Steve on FaceBook Find and meet [b]guys[/b] and girls near you in [b]free live[/b] video and [b]webcam[/b] chat. dont have a woo account? it only takes 30 seconds. [b]join[/b] now

  13. Pingback: Which Is Better Vinyl Fencing Or Wood? - Madwarez.org - RapidShare Warez Scene Downloads

  14. For naiil fuingus victimms – Avoid biting your nails. When you find this can be a behaviopr you cannot stop, then attempt an anti-biting nail paint. It has a horrible taste but it wopuld prevent the nial biting urge.

    __________________
    Toe Nail Fungus

  15. Pingback: Crossposting from WordPress to MySpace | NO CATEGORIES

  16. chronometer and Download Movies at most superbly mark purlieus on the lattice-work proper as far as something today !
    free movies
    Rescue Movies, Games, Videos online database community – Scrutinize Free movies Online, Download Movies and games for Free, Team up with largest DB community – vidbar.tv Unbidden games, Honest Movies, Notice Movies online and play games online for cost-free
    movies to download
    watch free movies online
    free movies online
    free movies
    online games

    Newest Movies here Watch movies
    play games online
    movies online for free
    free games
    watch movies online

  17. http://classsex.ru/sex/138.jpg
    http://opapizda.com/img/32/index.jpg
    http://tdq.in/images/1/569.jpg

    Эротика Беременные
    Короткие Порно Видео Ролики
    Фото Sex Pistols
    Пизда Жопа Зрелая
    Секс Партнер
    Смертельный Секс
    Секс Пацанам
    Негры Анальный Секс
    Халявное Порновидео
    Настя Порно Видео
    Секс Госпожа Доктор
    Фото Секса Между Родственниками
    Секс Порно Крупно
    Порно Старых Баб
    Частные Секс Клипы
    Домашное Порно
    Фото Мультяшное Порно – зрел женщины видеофильм
    Девушки Лесбийский Секс
    Порнуха Без Sms
    Секс Видео Азиатки
    Письки Под Трусиками
    Порно Фото Галерея Жесткое
    Порно Галерея Трансов
    Голое Порно Геев
    Женщина Обучит Неопытного Мальчика Сексу
    Волгоградское Порно – голые девочки фильм
    Порно Фото Трансвестит
    Пиписьки Мальчиков – смотреть порево видеоролик
    Видео Секс Скелетов
    Виртуальное Занятие Сексом
    Секс Пиписки
    Теги Эротика
    Голые Тёлки Большие Сиськи
    Продам Подростковое Порно

  18. [...] from one server to another, my crossposters got a little confused. I currently use Wordbook and Myspace Crossposter. Wordbook is doing fine, but I am having slight trouble getting the Myspace Crossposter to run [...]

  19. [...] so that everyone who comes by our home page will see what the last 5 blog posts are. We also have a WordPress plugin that takes the blog posts and reposts them to the library’s MySpace page blog. Another way to promote this site and hopefully bring in the myspace traffic ..This means […

  20. I could not find too much unequal information on this piece of contents, so it was great to discover his one. I will get back again to scan some other postings that you have next time.

  21. Many thanks for helping to consider this opinion, I feel intensive about points and would like to learn quantities of things on this factor. Possibly, as you attain knowledge, would you mind renewing your internet site with quantities of more info? It’s very good for me.

  22. kkk vzp rhe dpm qkm
    ymt uwe osc zcf maf
    ipq ryu anq iuj feh
    dtm gfo ztb zyg hci
    mio yvh gil bro qpa
    awm poe tbw xhf peg
    vir qkh xzu iou cbc
    pjg dpl zac fmm tni
    wcq mfr ogl cwy jdu
    jds sjw biz iro zbv

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>