1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +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

@@ -87,6 +87,7 @@ class rss_import extends base_import_class
*/ */
function copyNewsData(&$target, &$source) function copyNewsData(&$target, &$source)
{ {
$target['news_title'] = $source['title'][0]; $target['news_title'] = $source['title'][0];
// $target['news_sef'] = $source['post_name']; // $target['news_sef'] = $source['post_name'];
$target['news_body'] = "[html]".$source['description'][0]."[/html]"; $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)
{
}