Expression Engine - import member data - expressionengine

I am finishing a site for a client and they want to import their customer database. Is there an effective way to import such data? I have used AJW Datagrab for importing data, but this is different.
Any suggestions?
I noticed that EE has an xml import template is there a handy way to convert a spreadsheet to an xml file that would fit that format?
Thanks.

ExpressionEngine 1.x used to come bundled with three native first-party Import Utilities:
pMachine Pro Import Utility
Movable Type Import Utility
Member Import Utility
With the rewrite of ExpressionEngine 2.x, only the following made the conversion:
Member Import Utility
You can access it within the Control Panel at: CP Home > Tools > Utilities > Import Utilities.
The first-party Member Import Utility allows you to import members from other systems into ExpressionEngine, in the following two formats:
Import from XML File - Allows you to import members from an XML file
in ExpressionEngine's Member XML format.
Convert Delimited Text to XML - Allows you to create an
ExpressionEngine Member XML file from another application's delimited
text file.
If you're looking to import more than just Members into your ExpressionEngine database, DataGrab by Andrew Weaver of Brand New Box in the UK is your best choice.
DataGrab allows you to import data from RSS/ATOM feeds, CSV files and XML files. Other datatypes can be added.
Among DataGrab's many uses are:
Importing initial content into ExpressionEngine from other CMS's (WordPress, Tumblr, etc.)
Aggregating data from your various websites from around the
internet, such as Twitter or Flickr (using RSS feeds or APIs)
Keeping product stock or price details synchronised with an external
system
You can also harness EE's powerful, built-in functionality (flexible templating, search, archives), DataGrab makes your data easily available as a channel entry.
The developer of DataGrab provides a walk thru on using CSV imports with DataGrab, perfect for use with Excel documents or a Google Docs Spreadsheets.
Surprisingly, the once-popular Solspace Importer still hasn't made the conversion to EE2.

A bit late, but for the record Solspace Importer is now ee2.x compatible. The big advantage over DataGrab is Importer's ability to call with JSON.

Related

How can I override DocumentCreatedWhen and DocumentModifiedWhen while using Kentico Import Toolkit?

I've created a number of .iprofile files to import pages from a legacy WebForms site into the "Content-Only" versions on a new MVC site. This works great except that it ignores the mapping for DocumentCreatedWhen and DocumentModifiedWhen. Each time the import occurs without errors but the Created and Modified dates in the MVC site are the date/time of the import, not the original date and time.
I've tried using the GUI version of the Import Toolkit and the command-line version, I've verified that there are mapping elements in the .iprofile files for DocumentCreatedWhen and DocumentModifiedWhen, like so:
<mapping target="documentcreatedwhen" source="DocumentCreatedWhen" />
<mapping target="documentmodifiedwhen" source="DocumentModifiedWhen" />
Does this work with the Kentico Import Toolkit or will I need to use a different mechanism?
Edited title to use correct field names...
Unfortunately, both values are set when an object is created and/or modified and both these properties have internal setters so basically from your perspective are just read-only. Onehack around it would be to change system clock as they rely on DateTime.Now; and another would be to actually convince framework with your own implementation of DateTime
Last and easiest approach would be to import data and than run SQL to adjust modified fields directly.

How to Import Programatically a file or an XML string in Acumatica that supports import XML

I just wanted to know if this is possible via code, I think of as a post-installation of my customization which needs some imported XML that cannot be included in the Customization Project objects. I looked up on Customization Code Plug-in, this is the solution but I do not know where to start to manipulate the File Upload or Import an XML then I pass a string variable to make it readable for the screen to accept the Import XML and just save the data.
Thanks!
I would consider just including in customization necessary xml staff, as file. Then in Customization plugin just read from that xml, and persist it wherever needed in db.

trying to import data in pimcore from xml file

We are trying to import as XML file having some objects in PIMCORE. The file is having around 4000 records and size is around 4mb. I want to know how to import data in pimcore from XML file?
You need to write some CLI importer by your own for handle it. Pimcore don't have any feature right now to import XML files. Anyway, there is not possible to do it automatically, a cause of data complex.
You could use the Import Definitions Plugin for Pimcore: https://github.com/w-vision/ImportDefinitions
It does easily import XML files as pimcore objects.
The following data types can also be imported by the Import Definitions Plugin:
CSV
JSON
SQL
You can get the plugin via composer:
composer require w-vision/import-definitions
You might need to install the plugin within the Pimcore Extension Manager.

Can I Import an excel file to an already created list? [SharePoint Foundation 2010]

The question says by itself. I would like to import an excel file to a list that had already created before.
I know that is possible to import it when you want to create a new list and I also know that I can import excel files programmatically. But I want to do it just using SharePoint interface or third-party applications.
Thank you all in advanced.

Export text (MediaWiki markup) from MediaWiki installation

I want to export the MediaWiki markup for a number of articles (but not all articles) from a local MediaWiki installation. I want just the current article markup, not the history or anything else, with an individual text file for each article. I want to perform this export programatically and ideally on the MediaWiki server, not remotely.
For example, if I am interested in the Apple, Banana and Cupcake articles I want to be able to:
article_list = ["Apple", "Banana", "Cupcake"]
for a in article_list:
get_article(a, a + ".txt")
My intention is to:
extract required articles
store MediaWiki markup in individual text files
parse and process in a separate program
Is this already possible with MediaWiki? It doesn't look like it. It also doesn't look like Pywikipediabot has such a script.
A fallback would be to be able to do this manually (using the Export special page) and easily parse the output into text files. Are there existing tools to do this? Is there a description of the MediaWiki XML dump format? (I couldn't find one.)
On the server side, you can just export from the database. Remotely, Pywikipediabot has a script called get.py which gets the wikicode of a given article. It is also pretty simple to do manually, somehow like this (writing this from memory, errors might occur):
import wikipedia as pywikibot
site = pywikibot.getSite() # assumes you have a user-config.py with default site/user
article_list = ["Apple", "Banana", "Cupcake"]
for title in article_list:
page = pywikibot.Page(title, site)
text = page.get() # handling of not found etc. exceptions omitted
file = open(title + ".txt", "wt")
file.write(text)
Since MediaWiki's language is not well-defined, the only reliable way to parse/process it is through MediaWiki itself; there is no support for that in Pywikipediabot, and the few tools which try to do it fail with complex templates.
It looks like getText.php is a builtin server-side maintenance script for exporting the wikitext of a specific article. (Easier than querying the database.)
Found it via Publishing from MediaWiki which covers all angles on exporting from MediaWiki.

Resources