{"id":34217,"date":"2015-01-30T06:03:53","date_gmt":"2015-01-30T06:03:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/website-importer\/"},"modified":"2015-01-30T06:24:30","modified_gmt":"2015-01-30T06:24:30","slug":"website-importer","status":"closed","type":"plugin","link":"https:\/\/uk.wordpress.org\/plugins\/website-importer\/","author":13613191,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0","tested":"4.1.42","requires":"3.8.1","requires_php":"","requires_plugins":"","header_name":"Website Importer","header_author":"Patrick Mauro","header_description":"","assets_banners_color":"80907b","last_updated":"2015-01-30 06:24:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=D7J2RY6828E7N","header_plugin_uri":"","header_author_uri":"http:\/\/patrick.mauro.ca","rating":1,"author_block_rating":0,"active_installs":10,"downloads":5882,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1078730","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1078730","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1078730","resolution":"1","location":"assets"}},"screenshots":{"1":"The settings screen of the plugin while importing using an XML index."}},"plugin_section":[],"plugin_tags":[29698,246,87,35798,1254],"plugin_category":[59],"plugin_contributors":[88092],"plugin_business_model":[],"class_list":["post-34217","plugin","type-plugin","status-closed","hentry","plugin_tags-flare","plugin_tags-html","plugin_tags-import","plugin_tags-webpage","plugin_tags-website","plugin_category-utilities-and-tools","plugin_contributors-droppedbars","plugin_committers-droppedbars"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/website-importer_80907b.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/website-importer\/assets\/screenshot-1.png?rev=1078730","caption":"The settings screen of the plugin while importing using an XML index."}],"raw_content":"<!--section=description-->\n<p>Website Importer can import entire websites into Wordpress provided they contain a specialized index file.  The index file can either be an index output by Flare Madcap, or an XML file that is specifically defined for this importer.<\/p>\n\n<p>The Website Importer will relink internal links, upload and relink media files, and apply templates and categories to the page.  The import can be from either a website that is local to the Wordpress installation, or uploaded as a zip file.  If it is uploaded as a zip file and is a Flare Madcap import, the importer will find the relevant Flare Madcap index.  If it is uploaded as a zip file and the is using an XML index, the importer requires that the index file be named index.xml and located at the root of the zip file.<\/p>\n\n<p>Initial plugin development funded by Gliderline Solutions (http:\/\/www.gliderline.com\/).<\/p>\n\n<h3>XML Index Format<\/h3>\n\n<pre><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;knowledgebase version=\"1.0\"&gt;\n  &lt;document title=\"File Title\" src=\"index.html\" category=\"cat1\" order=\"0\"&gt;\n    &lt;document title=\"File Title 2\" src=\"secondFile.html\" category=\"cat1,cat2\" order=\"0\"&gt;\n    &lt;\/document&gt;\n  &lt;\/document&gt;\n&lt;\/knowledgebase&gt;\n&lt;\/xml&gt;\n<\/code><\/pre>\n\n<ul>\n<li>documents can be nested to define a parent child relationship.<\/li>\n<li>order defines menu listing orders if multiple pages exist under one parent.<\/li>\n<li>category can be applied to pages but may require an additional plugin to be usable.  Multiple categories are deliminted by a comma.<\/li>\n<li>src is the path to the html file and relative to the index.xml.<\/li>\n<\/ul>\n\n<p>Settings defined in the XML file will override settings contained in the plugin settings page.<\/p>\n\n<h3>Roadmap<\/h3>\n\n<p>The roadmap will be based on user demand and feedback.  Please provide feedback on what development would be important to you.  Some possibilities:<\/p>\n\n<ul>\n<li>Option to import as a post<\/li>\n<li>Overwriting of media files on subsequent imports or during filename conflicts.<\/li>\n<li>Option to create new pages vs overwrite existing pages of the same name.<\/li>\n<li>Option to set the category of the import based on the category the top level page has<\/li>\n<li>Support for tags.<\/li>\n<li>Support for categories and tags for media files.<\/li>\n<li>Import from confluence index files.<\/li>\n<li>Import from Subversion.<\/li>\n<li>Ability to change content in HTML (eg, replacing tags, or sections of text).<\/li>\n<li>Read in page information (such as tags or content) from custom-defined meta tags.\nIf you find this plugin useful, or find that it could be useful with certain additions, please let me know.<\/li>\n<\/ul>\n\n<h3>Known Issues<\/h3>\n\n<ul>\n<li>Madcap Flare imports only support one chunk file, and the TOC must be named Toc.js and only the first chunk file will be loaded (using name [TOC_CHUNK_NAME]0.js).<\/li>\n<li>During large Flare imports, the output text may stop printing even though the import completes.<\/li>\n<li>Links that link to within the current page (thispage.html#section) are not relinked.<\/li>\n<li>Relative links that do not specify http:\/\/ or https:\/\/ will not be relinked.<\/li>\n<li>Pages with titles that look like tags (uses &lt; and &gt;) may not appear in the 2015 theme menu.  It works in the 2014 theme menu.<\/li>\n<li>The incorrect category may get attached to the imported page if there are multiple categories with the same name.<\/li>\n<li>index.xml must be at the root of the zip file, and not in a sub-directory for an uploaded XML zip import.<\/li>\n<li>Uploading a Flare website that using a local path must reference the root directory of the Flare website, it cannot point to the Toc.js otherwise the webpage locations stored in Toc.js cannot be found by the importer.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Minimum tested\/supported WordPress version: 3.8.1<\/li>\n<li>Minimum tested PHP version: 5.4.25<\/li>\n<li>Other requirements:<\/li>\n<li>Javascript required for Settings Page<\/li>\n<li>PHP must not be running in safe mode<\/li>\n<\/ul>\n\n<h4>Through your WordPress Installation<\/h4>\n\n<ol>\n<li>Click 'Plugins &gt; Add New'<\/li>\n<li>Search for 'Website Importer'<\/li>\n<li>Activate Website Importer from your Plugins page<\/li>\n<li>Click 'Settings &gt; Website Importer'<\/li>\n<li>Enter in your brands that require trademark symbols, select the trademark symbol and click 'Save Changes'<\/li>\n<\/ol>\n\n<h4>Through WordPress.org<\/h4>\n\n<ol>\n<li>Download Website Importer<\/li>\n<li>Upload or copy the 'Website Importer' directory to your '\/wp-content\/plugins\/' directory using your preferred method<\/li>\n<li>Activate Website Importer from your Plugins page<\/li>\n<li>Click 'Settings &gt; Website Importer'<\/li>\n<li>Enter in your brands that require trademark symbols, select the trademark symbol and click 'Save Changes'<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What do I do if my import doesn't work?<\/dt>\n<dd><p>If possible, provide the entire import attempted (index and html files) and the errors that occurred.<\/p><\/dd>\n<dt>How do I use categories for pages?<\/dt>\n<dd><p>In order to create and manage categories for pages, another plugin is required.  \"Post Tags and Categories for Pages\" has been used in testing in conjunction with this plugin.<\/p><\/dd>\n<dt>Where does the index file have to be?<\/dt>\n<dd><p>When importing a locally located website using an XML import, the index file must be referenced directly with all file locations relative to that index file.  For a locally located website using a Flare import, the root path of the Flare website can be referenced directly: if the Toc.js is referenced then all file links within Toc.js must be relative to the Toc.js location.\nIf uploading a zip file containing the website, then for an XML import the index.xml file must be in the root of the zip file and named index.xml.  For an uploaded zip of a Flare website, the TOCs can be anywhere and will be found automatically.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release, supports a custom XML index and basic Flare imports.<\/li>\n<\/ul>","raw_excerpt":"Given an index file, uploads entire websites into Wordpress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34217"}],"author":[{"embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/droppedbars"}],"wp:attachment":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34217"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34217"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34217"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34217"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34217"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}