|
ssmBlogPosterEng
Here is a script to be able to post blog entries from sl. This script is working for :
This script is open source, but i have made an extended version to use with wordpress that you can buy here To make it work, you need to add this script in a box, and create a notecard. Then you need to fill the 3 first variables in the script :
During the creation of the notecard, you can change these values ( but when changing values by notecard, the values set stay in place, so you need to reset the script to go back to the default values ) Click on the object to make the rest menu appear. Carrier returns are working and html content too. when the notecard is created, you just need to drop it on the object and then a menu will appear after the notecard analyzis to ask you confirmation. This script can be extended to add other options but the base is here. WARNING : THE NOTECARD LINES CAN NOT BE LOGER THAN 256 CHARS BECAUSE OF SL LIMIT xml rpc activation on the websitesGo to the admin panel of your site and activate xml-rpc activation for wordpressGo to the page : wp-admin/options-writing.php and activate it. activation for drupal
activation for joomla
script configurationYou can define variables by default in the script or you can add them in the notecard that you will use for the article. Actuallay, the variables are : username
password
url
cms
content_type
title
categories
publish status
use_nl
body_separator
notecard examplestitle = My title from sl for wordpress <!--body--> Hello here is my article header <!--more--> and here is the article body title = My title for another wordpress site url = http://myothersite.com/worpdress categories = 1,5 use_nl = 0 <!--body--> Here is another test that shows you that the lines are separated only if i am using a tag <br/> <p>but i can also use</p> <p>the tag p </p> title = My title from sl for my drupal website cms = drupal url = http://mysite.com/drupal username = toto password = mypass content_type = blog <!--body--> Here is my article teaser <!--break--> and here is my article body title = My title from sl for my joomla website url = http://mysite.com/joomla username = titi password = mypass categories = 2 <!--body--> Here is the header of my article <hr id="system-readmore" /> and here is the body of my article |
Sign in to add a comment