1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Extra icons in import plugin.

This commit is contained in:
CaMer0n
2012-07-22 10:11:34 +00:00
parent 818c0fe92c
commit b275d3dd0b
4 changed files with 8 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -21,7 +21,7 @@
// b) The array index of certain variables
// Array element key defines the function prefix and the class name; value is displayed in drop-down selection box
$import_class_names['rss_import'] = 'RSS';
$import_class_names['rss_import'] = 'RSS';
$import_class_comment['rss_import'] = 'Import RSS v2.0 feeds';
$import_class_support['rss_import'] = array('news','page','links');
$import_default_prefix['rss_import'] = '';
@@ -87,6 +87,7 @@ class rss_import extends base_import_class
*/
function copyNewsData(&$target, &$source)
{
$target['news_title'] = $source['title'][0];
// $target['news_sef'] = $source['post_name'];
$target['news_body'] = "[html]".$source['description'][0]."[/html]";
@@ -170,8 +171,12 @@ class rss_import extends base_import_class
}
//TODO Option to save remote images locally and replace urlss in news_body with local ones. eg. {e_MEDIA}
function saveBodyFiles($body)
{
}