Author: inetpro Language: text
Description: Not specified Timestamp: 2012-10-05 17:41:15 -0400
View raw paste Reply
  1. Lazy Friday evening challenge for anybody willing to help:
  2.  
  3. Import text based information to a drupal database with data stored in text files in the following structure.
  4.  
  5. ├── 2011
  6. │   ├── story2011001.txt
  7. │   └── story2011002.txt
  8. └── 2012
  9.     ├── story2012001.txt
  10.     └── story2012002.txt
  11.  
  12. Sample data:
  13. https://www.dropbox.com/sh/hifxmtf9hdemu36/NtVYcVgemQ/DrupalTXTImportTest/2011/story2011001.txt
  14.  
  15. To Do:
  16. * Find out Drupal database structure
  17. * Script to read each file and write a record to the drupal database
  18. * Save imported file name in the friendly/clean URL field so that we can create a rewrite rule to take care of old links
  19.  
View raw paste Reply