diff --git a/README.md b/README.md index a34f0c7..93e3f00 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,12 @@ HTML-Import-2 ============= -A WordPress plugin to import content from static HTML files. \ No newline at end of file +A WordPress plugin to import content from static HTML files. + + += Contribution from rpeyron in this fork = +* Added French translation and translation fixes +* Added '*' for all document types +* Added option to import media files in original folder structure +* Added option to prefix import path +* Added redirects for imported media files diff --git a/html-import-options.php b/html-import-options.php index 07e3622..9bcd66f 100644 --- a/html-import-options.php +++ b/html-import-options.php @@ -25,6 +25,8 @@ function html_import_get_options() { 'remove_srcset' => 0, 'import_documents' => 0, 'document_mimes' => 'rtf,doc,docx,xls,xlsx,csv,ppt,pps,pptx,ppsx,pdf,zip,wmv,avi,flv,mov,mpeg,mp3,m4a,wav', + 'document_keep_structure' => 0, + 'documents_prefix' == _('imported-pages', 'import-html-pages' ), 'fix_links' => 0, 'import_title' => 0, 'title_region' => '', @@ -99,8 +101,8 @@ function html_import_options_page() { ?> value="" class="widefloat" />
-
- '.rtrim( ABSPATH, '/' ).'' ); ?> +
+ '.rtrim( ABSPATH, '/' ).'' ); ?>

@@ -110,7 +112,7 @@ function html_import_options_page() { ?>


- .htaccess redirects. The importer will not search for files here.', 'html-import-pages' ); ?> + .htaccess redirects. The importer will not search for files here.', 'import-html-pages' ); ?>

@@ -250,9 +252,26 @@ function html_import_options_page() { ?>
- + Suggested: rtf, doc, docx, xls, xlsx, csv, ppt, pps, pptx, ppsx, pdf, zip, wmv, avi, flv, mov, mpeg, mp3, m4a, wav
", 'import-html-pages' ); ?>
+ + > + + + + + + > + +
+ + @@ -566,8 +585,7 @@ function html_import_options_page() { ?> - Select field by:
-