WPXRSS importer added.
This commit is contained in:
parent
ff27e8578d
commit
5a1ed450fd
@ -4,7 +4,8 @@ Version 1.3 ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Updated WordPress imported to be able to import from a 2.3
|
||||
structure (experimental) (garvinhicking)
|
||||
structure (experimental). Also added WPXRSS import to the
|
||||
generic RSS importer. (garvinhicking)
|
||||
|
||||
* Patch PEAR.php for better detection, if already included.
|
||||
Thanks to Assen Tchorbadjiev.
|
||||
|
@ -37,7 +37,13 @@ class Serendipity_Import_Generic extends Serendipity_Import {
|
||||
array('text' => RSS_IMPORT_BODYONLY,
|
||||
'type' => 'bool',
|
||||
'name' => 'bodyonly',
|
||||
'value' => 'false'));
|
||||
'value' => 'false'),
|
||||
|
||||
array('text' => RSS_IMPORT_WPXRSS,
|
||||
'type' => 'bool',
|
||||
'name' => 'wpxrss',
|
||||
'value' => 'false')
|
||||
);
|
||||
}
|
||||
|
||||
function validateData() {
|
||||
@ -124,9 +130,197 @@ class Serendipity_Import_Generic extends Serendipity_Import {
|
||||
return true;
|
||||
}
|
||||
|
||||
function import_wpxrss() {
|
||||
// TODO: Backtranscoding to NATIVE charset. Currently only works with UTF-8.
|
||||
$dry_run = false;
|
||||
|
||||
$serendipity['noautodiscovery'] = 1;
|
||||
$uri = $this->data['url'];
|
||||
require_once S9Y_PEAR_PATH . 'HTTP/Request.php';
|
||||
serendipity_request_start();
|
||||
$req = &new HTTP_Request($uri, array('allowRedirects' => true, 'maxRedirects' => 5));
|
||||
$res = $req->sendRequest();
|
||||
|
||||
if (PEAR::isError($res) || $req->getResponseCode() != '200') {
|
||||
serendipity_request_end();
|
||||
echo IMPORT_FAILED . ': ' . htmlspecialchars($this->data['url']);
|
||||
echo "<br />\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
$fContent = $req->getResponseBody();
|
||||
serendipity_request_end();
|
||||
echo strlen($fContent) . " Bytes<br />\n";
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.0') === -1) {
|
||||
printf(UNMET_REQUIREMENTS, 'PHP >= 5.0');
|
||||
echo "<br />\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
$xml = simplexml_load_string($fContent);
|
||||
unset($fContent);
|
||||
|
||||
|
||||
/* ************* USERS **********************/
|
||||
$_s9y_users = serendipity_fetchUsers();
|
||||
$s9y_users = array();
|
||||
if (is_array($s9y_users)) {
|
||||
foreach ($s9y_users as $v) {
|
||||
$s9y_users[$v['realname']] = $v;
|
||||
}
|
||||
}
|
||||
|
||||
/* ************* CATEGORIES **********************/
|
||||
$_s9y_cat = serendipity_fetchCategories('all');
|
||||
$s9y_cat = array();
|
||||
if (is_array($s9y_cat)) {
|
||||
foreach ($s9y_cat as $v) {
|
||||
$s9y_cat[$v['category_name']] = $v['categoryid'];
|
||||
}
|
||||
}
|
||||
|
||||
$wp_ns = 'http://wordpress.org/export/1.0/';
|
||||
$dc_ns = 'http://purl.org/dc/elements/1.1/';
|
||||
$content_ns = 'http://purl.org/rss/1.0/modules/content/';
|
||||
|
||||
$wp_core = $xml->channel->children($wp_ns);
|
||||
foreach($wp_core->category AS $idx => $cat) {
|
||||
//TODO: Parent generation unknown.
|
||||
$cat_name = (string)$cat->cat_name;
|
||||
if (!isset($s9y_cat[$cat_name])) {
|
||||
$cat = array('category_name' => $cat_name,
|
||||
'category_description' => '',
|
||||
'parentid' => 0,
|
||||
'category_left' => 0,
|
||||
'category_right' => 0);
|
||||
|
||||
printf(CREATE_CATEGORY, htmlspecialchars($cat_name));
|
||||
echo "<br />\n";
|
||||
if ($dry_run) {
|
||||
$s9y_cat[$cat_name] = time();
|
||||
} else {
|
||||
serendipity_db_insert('category', $cat);
|
||||
$s9y_cat[$cat_name] = serendipity_db_insert_id('category', 'categoryid');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ************* ITEMS **********************/
|
||||
foreach($xml->channel->item AS $idx => $item) {
|
||||
$wp_items = $item->children($wp_ns);
|
||||
$dc_items = $item->children($dc_ns);
|
||||
$content_items = $item->children($content_ns);
|
||||
|
||||
// TODO: Attachments not handled
|
||||
if ((string)$wp_items->post_type == 'attachment' OR (string)$wp_items->post_type == 'page') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$entry = array(
|
||||
'title' => (string)$item->title,
|
||||
'isdraft' => ((string)$wp_items->status == 'publish' ? 'false' : 'true'),
|
||||
'timestamp' => strtotime((string)$wp_items->post_date),
|
||||
'allow_comments' => ((string)$wp_items->comment_status == 'open' ? true : false),
|
||||
'categories' => array(),
|
||||
'body' => htmlspecialchars(substr((string)$content_items->encoded, 0, 50))
|
||||
);
|
||||
|
||||
if (preg_match('@^([0-9]{4})\-([0-9]{2})\-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$@', (string)$wp_items->timestamp, $timematch)) {
|
||||
$entry['timestamp'] = mktime($timematch[4], $timematch[5], $timematch[6], $timematch[2], $timematch[3], $timematch[1]);
|
||||
} else {
|
||||
$entry['timestamp'] = time();
|
||||
}
|
||||
|
||||
if (isset($item->category[1])) {
|
||||
foreach($item->category AS $idx => $category) {
|
||||
$cstring=(string)$category;
|
||||
if (!isset($s9y_cat[$cstring])) {
|
||||
echo "WARNING: $category unset!<br />\n";
|
||||
} else {
|
||||
$entry['categories'][] = $s9y_cat[$cstring];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$cstring = (string)$item->category;
|
||||
$entry['categories'][] = $s9y_cat[$cstring];
|
||||
}
|
||||
|
||||
$wp_user = (string)$dc_items->creator;
|
||||
if (!isset($s9y_users[$wp_user])) {
|
||||
if ($dry_run) {
|
||||
$s9y_users[$wp_user]['authorid'] = time();
|
||||
} else {
|
||||
$s9y_users[$wp_user]['authorid'] = serendipity_addAuthor($wp_user, md5(time()), $wp_user, '', USERLEVEL_EDITOR);
|
||||
}
|
||||
printf(CREATE_AUTHOR, htmlspecialchars($wp_user));
|
||||
echo "<br />\n";
|
||||
}
|
||||
|
||||
$entry['authorid'] = $s9y_users[$wp_user]['authorid'];
|
||||
|
||||
if ($dry_run) {
|
||||
$id = time();
|
||||
} else {
|
||||
$id = serendipity_updertEntry($entry);
|
||||
}
|
||||
|
||||
$s9y_cid = array(); // Holds comment ids to s9y ids association.
|
||||
$c_i = 0;
|
||||
foreach($wp_items->comment AS $comment) {
|
||||
$c_i++;
|
||||
$c_id = (string)$comment->comment_id;
|
||||
$c_pid = (string)$comment->comment_parent;
|
||||
$c_type = (string)$comment->comment_type;
|
||||
if ($c_type == 'pingback') {
|
||||
$c_type2 = 'PINGBACK';
|
||||
} elseif ($c_type == 'trackback') {
|
||||
$c_type2 = 'TRACKBACK';
|
||||
} else {
|
||||
$c_type2 = 'NORMAL';
|
||||
}
|
||||
|
||||
$comment = array('entry_id ' => $id,
|
||||
'parent_id' => $s9y_cid[$c_pd],
|
||||
'author' => (string)$comment->comment_author,
|
||||
'email' => (string)$comment->comment_author_email,
|
||||
'url' => (string)$comment->comment_author_url,
|
||||
'ip' => (string)$comment->comment_author_IP,
|
||||
'status' => (empty($comment->comment_approved) || $comment->comment_approved == '1') ? 'approved' : 'pending',
|
||||
'subscribed'=> 'false',
|
||||
'body' => (string)$comment->comment_content,
|
||||
'type' => $c_type2);
|
||||
|
||||
if (preg_match('@^([0-9]{4})\-([0-9]{2})\-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$@', (string)$comment->comment_date, $timematch)) {
|
||||
$comment['timestamp'] = mktime($timematch[4], $timematch[5], $timematch[6], $timematch[2], $timematch[3], $timematch[1]);
|
||||
} else {
|
||||
$comment['timestamp'] = time();
|
||||
}
|
||||
|
||||
if ($dry_run) {
|
||||
$cid = time();
|
||||
} else {
|
||||
serendipity_db_insert('comments', $comment);
|
||||
$cid = serendipity_db_insert_id('comments', 'id');
|
||||
if ($comment['status'] == 'approved') {
|
||||
serendipity_approveComment($cid, $assoc['entries'][$a['comment_post_ID']], true);
|
||||
}
|
||||
}
|
||||
$s9y_cid[$c_id] = $cid;
|
||||
}
|
||||
|
||||
echo "Entry '" . htmlspecialchars($entry['title']) . " ($c_i comments) imported.<br />\n";
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function import() {
|
||||
global $serendipity;
|
||||
|
||||
if ($this->data['wpxrss']) {
|
||||
return $this->import_wpxrss();
|
||||
}
|
||||
|
||||
$c = &new Onyx_RSS($this->data['charset']);
|
||||
$c->parse($this->data['url']);
|
||||
$this->data['encoding'] = $c->rss['encoding'];
|
||||
@ -146,4 +340,3 @@ class Serendipity_Import_Generic extends Serendipity_Import {
|
||||
return 'Serendipity_Import_Generic';
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
||||
|
@ -99,3 +99,4 @@ foreach($const['missing'] AS $file => $constants) {
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -886,3 +886,4 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('PINGBACK_FAILED', 'Неуспешен pingback: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'Не е намерен pingback-URI.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Скриване на връзката към архивите, когато няма статии в избрания период от време (изисква преброяване на статиите)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php # $Id: serendipity_lang_cn.inc.php 1815 2007-08-06 10:18:26Z garvinhicking $
|
||||
<?php # $Id: serendipity_lang_cn.inc.php 1907 2007-09-10 10:42:31Z brockhaus $
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
# Translated by
|
||||
@ -897,3 +897,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -905,3 +905,4 @@ $i18n_filename_to = array (
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -905,3 +905,4 @@ $i18n_filename_to = array (
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -894,3 +894,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -892,3 +892,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php # $Id: serendipity_lang_en.inc.php 1815 2007-08-06 10:18:26Z garvinhicking $
|
||||
<?php # $Id: serendipity_lang_en.inc.php 1854 2007-08-16 13:07:43Z garvinhicking $
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
@ -893,3 +893,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -913,3 +913,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -897,3 +897,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -895,3 +895,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -902,3 +902,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php # $Id: serendipity_lang_is.inc.php 1815 2007-08-06 10:18:26Z garvinhicking $
|
||||
<?php # $Id: serendipity_lang_is.inc.php 1854 2007-08-16 13:07:43Z garvinhicking $
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
# Translation by Örn Arnarson <orn@arnarson.net>
|
||||
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -898,3 +898,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -897,3 +897,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -898,3 +898,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -894,3 +894,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php # $Id: serendipity_lang_pt.inc.php 1815 2007-08-06 10:18:26Z garvinhicking $
|
||||
<?php # $Id: serendipity_lang_pt.inc.php 1854 2007-08-16 13:07:43Z garvinhicking $
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
# Translation (c) by Agner Olson <agner@agner.net>
|
||||
@ -900,3 +900,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -907,3 +907,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -814,3 +814,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -895,3 +895,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -895,3 +895,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -899,3 +899,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
<?php # $Id: serendipity_lang_zh.inc.php 1815 2007-08-06 10:18:26Z garvinhicking $
|
||||
<?php # $Id: serendipity_lang_zh.inc.php 1907 2007-09-10 10:42:31Z brockhaus $
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
# Translated by
|
||||
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -1,2 +1 @@
|
||||
@define('PINGBACK', 'Pingback');
|
||||
@define('PINGBACKS', 'Pingbacks');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -99,3 +99,4 @@ foreach($const['missing'] AS $file => $constants) {
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -886,3 +886,4 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('PINGBACK_FAILED', 'Неуспешен pingback: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'Не е намерен pingback-URI.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Скриване на връзката към архивите, когато няма статии в избрания период от време (изисква преброяване на статиите)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -897,3 +897,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -905,3 +905,4 @@ $i18n_filename_to = array (
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -905,3 +905,4 @@ $i18n_filename_to = array (
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -894,3 +894,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -892,3 +892,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -893,3 +893,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -913,3 +913,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -897,3 +897,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -895,3 +895,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -902,3 +902,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -898,3 +898,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -897,3 +897,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -898,3 +898,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -894,3 +894,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -900,3 +900,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -907,3 +907,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -814,3 +814,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -895,3 +895,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -895,3 +895,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@ $i18n_unknown = 'tw';
|
||||
@define('PINGBACK_FAILED', '回測失敗: %s');
|
||||
@define('PINGBACK_NOT_FOUND', '沒有回測的網頁。');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', '隱藏歷史的連接如果時間內沒有文章 (需要計算文章數)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -899,3 +899,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -900,3 +900,4 @@ $i18n_unknown = 'tw';
|
||||
@define('PINGBACK_FAILED', '回測失敗: %s');
|
||||
@define('PINGBACK_NOT_FOUND', '沒有回測的網頁。');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', '隱藏歷史的連接如果時間內沒有文章 (需要計算文章數)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
@ -896,3 +896,4 @@
|
||||
@define('PINGBACK_FAILED', 'Pingback failed: %s');
|
||||
@define('PINGBACK_NOT_FOUND', 'No pingback-URI found.');
|
||||
@define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Hide archives link when no entries were made in that timespan (requires counting entries)');
|
||||
@define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS import, requires PHP5 and might take up much memory');
|
||||
|
Loading…
x
Reference in New Issue
Block a user