-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.sample.php
42 lines (30 loc) · 1.38 KB
/
config.sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
// The full path to the XML file you exported from Wordpress
$xmlFile = 'wordpress-export.xml';
// Your tumblr log in details
$tumblr_email = 'mylogin';
$tumblr_password = 'mypassword';
// Tumblr URL (e.g. http://yourname.tumblr.com)
$tumblrUrl = 'http://mytumblr.tumblr.com';
// If a post from Wordpress is a draft, do you want it posted as private so you // have it available? True if so, False to ignore drafts
$publishDraftAsPrivate = true;
// Full path to a file that is writable, so that a log of current URL on your // wordpress blog to new URL on your tumblr can be written (good for redirects // to preserve links, etc)
$logFile = 'log.csv.txt';
// When the blog is a secondary blog. Keep empty if primary blog
$tumblrGroup = 'mytumblr.tumblr.com';
//Remove keywords in post title
$removeTitleKeywords = array( );
// the category which represent post type ( Article, Video, Lien )
$tumblogWPCategory = "tumblog";
$tumblogWPCategoryTermsMatches = array(
"regular" => array("Article","Code"),
"video" => array("Video"),
"link" => array("Lien"),
"quote" => array("Citation"),
"photo" => array("Image"),
);
$relocateBodyImages = array( "http://www.myblog.com/wp-content/uploads/" => "http://media.myblog.com/tumblelog/");
// do not send data to Tumblr, first see the result in the console
$testMode = false;
// to prevent saturation and ban from Tumblr
$rateLimit = 2; // seconds