drupal-files

Saving nodes with a filefield

旧城冷巷雨未停 提交于 2019-12-01 10:59:15
I'm in the progress of creating a bulk upload function for a Drupal site. Using flash I'm able to upload the files to a specific url that then handles the files. What I want to do, is not just to upload the files, but create a node of a specific type with the file saved to a filefield that has been setup with CCK. Since these are audio files, it's important that filefield handles the files, so addition meta data can be provided with the getid3 module. Now I've looked through some of the code as I wasn't able to find an API documentation, but it's not clear at all how I should handle this.

Saving nodes with a filefield

南笙酒味 提交于 2019-12-01 07:57:00
问题 I'm in the progress of creating a bulk upload function for a Drupal site. Using flash I'm able to upload the files to a specific url that then handles the files. What I want to do, is not just to upload the files, but create a node of a specific type with the file saved to a filefield that has been setup with CCK. Since these are audio files, it's important that filefield handles the files, so addition meta data can be provided with the getid3 module. Now I've looked through some of the code