import

alex_b's picture

Switching from FeedAPI to Feeds

Feeds has been in the works since DrupalCon Paris now. With the launch of Managing News it is finally ready to replace FeedAPI/Feed Element Mapper. I have just posted on our blog about the reasons behind refactoring and relaunching FeedAPI as Feeds: Good bye FeedAPI, hello Feeds!

Login to post comments · Read more
perceptum's picture

Programmatic creation of panels

Hi

Is there a Programmatic way to import an exported panel? I have created some panels and I want to load them, on mass, into a new site. Assuming the content types , views etc are all identical - can this be done? I cant seem to find anything related to this...

Thanks in advance!

Bryan

3 comments

XML-feed

Hejsan!

Har fått en xml-fil som ska generera ett bokningsforumlär, har aldrig arbetat med xml tidigare och är ju ny på drupal så vart börjar man? Använder drupal6. Har sökt lite och hittat något som heter Import / Export API och har installerat den (även om det är en betaversion). Hur gör man sen? Jag går in och väljer page och importera en xml-fil sen väljer jag vilken xml-fil den ska importera ifrån min mapp testdata. Efter det säger den att min fil är importerad och se resultat nedan....men det är bara en grå ruta.

2 comments · Read more

Database export/import question

I have been attempting to make a local version of a client's site for development. I was able to export a .gzip using phpmyadmin, but when I import it locally and compare to the live version, a lot of the tables are missing or are quite a bit smaller than the live version. A .zip export was only 4k so I assumed it was no good. The uncompressed database is around 117mb. I exported and downloaded it, and set the file size parameters in php.ini so that I don't get a "this database is too big" error.

4 comments · Read more
mikeryan's picture

Merger with Data Import/Export group

The Data Import/Export and Migration to Drupal groups are being merged together. Data Import/Export was devoted to one project in this area while Migrate to Drupal was started for more general discussion - what we're going to do is close the group now known as Migration to Drupal and alter the charter for Data Import/Export to be more general (this is the easiest way to handle it, since Data Import/Export has the larger membership).

If you are a member of Migration to Drupal, you should join Data Import/Export to stay involved.

Thanks.

1 comment

quiz questions bulk import script

As a student representing my college, I am organizing an online quiz on open source for a group of five colleges on 18 April 2009 which has more than 100 questions. I was lazy to upload question manually one by one so i wrote a quiz_questions_import script based on this article http://acquia.com/blog/migrating-drupal-way-part-i-creating-node. Bulk question import is a something often often asked feature in quiz issue queue so like to share this script with you guys here.

quiz_questions_import.php


<?php
require 'includes/bootstrap.inc';

8 comments · Read more
jpetso's picture

Transformations idea frenzy!

Overview: Transformations is an API for creating and executing data transformation pipelines, enabling higher-level modules to build stuff like Yahoo! Pipes or targeted import/export interfaces on top of it. The purpose of this project is to improve and build upon Transformations so that it not only provides a base framework but also satisfies a larger number of end-user needs, for example an AJAXified user interface.

Description:

Transformations was born out of the desire for a solution that can map any kind of structured data to any kind of other data, such as importing CSV or more complex XML files into Drupal nodes (with field mappings, obviously), exporting the data to the same files, or, if you will, providing an online converter that converts any RSS feed into Atom for example.

When performing such a large-scale transformation, some elements of the source data will likely need to be transformed on a smaller-scale level, e.g. you might need to convert a Unix timestamp into ISO date format at some point, or remove commas from a number string ("1,099.90") to conform to the target format, or perform string replacements on a given string field. At times, you might even need a combination of those transformations, or reference some other entity to construct the desired output data.

In order to do that kind of stuff, a simple mapping screen is not flexible enough, or would require lots of custom code to handle the more specific tasks. Transformations tries to solve that problem by splitting individual data transformation tasks into individual "operations" that can be chained into a larger transformation pipeline.

2 comments · Read more
moonray's picture

Import/Export API (Input/Output API)

Based on the discussions we had at DrupalCon, I've written up the beginnings of an API with a standardized set of hooks and some functions.

The details of how, for instance, the block module would save an object to disc might start through using the not-so-desirable form API, due to lack of another option. In the future, however, this could be changed using a more optimal method.

Also included is a generalized function to fetch set of default objects that are embedded in PHP (like views module or context module implement).

Discussion is encouraged. :-)

io.module

3 comments · Read more
alex_b's picture

A framework for exporting/importing data - improvement to install profile API

The install profile API became the most important helper for building Drupal profiles. It provides a library of create functions that supports the most important Drupal modules and provisions a place for contributing more create functions.

Problems:

  • In the Drupal 5 version, install profile API contains a wizard that generates install profile stubs and defines export functions for some of the API's install functionality, in Drupal 6 there is no successor for install profile wizard yet.
13 comments · Read more
Syndicate content