This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: latin-1 -*- | |
#basado en el script originalmente publicado en | |
#http://www.jansipke.nl/using-python-to-add-new-posts-in-wordpress/ | |
import datetime, xmlrpclib | |
from xml.sax.saxutils import escape | |
wp_url = "http://server.com/wordpress/xmlrpc.php" | |
wp_username = "usuario" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from os import system | |
from urllib2 import urlopen | |
from socket import socket | |
from sys import argv | |
from time import asctime | |
import smtplib | |
import string | |
from ftplib import FTP |
NewerOlder