I'm wondering if it's currently possible to generate biblio nodes from an RSS field of bibliographic records (coming from a library website or even from a Zotero.org feed).
I haven't attempted it yet but my main doubts come from how the Feeds module handles creating nodes that have multi-step input forms such as biblio, where you first choose the publication type.
Wasn't sure if this question was best asked here or on the Feeds issues section.
Thanks!
Comments
Comment #1
gpiersol commentedOops I meant "generate biblio nodes from an RSS feed of bibliographic..."
Comment #2
rjerome commentedYes, it should be quite possible since it is really no different from harvesting an OAI-PMH feed. It's really not a multi-step process assuming the publication type information is contained in the feed. You just need to be able to parse the feed and map the fields to the appropriate biblio fields.
I am actually looking at the Feeds module as a generic import wrapper for all the current biblio file import filters in the 7.x-2.x branch of the code (which is non-existent at this time).
Ron
Comment #3
gpiersol commentedThanks Ron for your response! I'll go ahead and experiment with getting Feeds working with Biblio 6.x for the time being.
Comment #4
rjerome commentedIt should be reasonably straightforward, you would just build a $node array and then call biblio_save_node($node). Any of the xx_parser.inc files will show you an example of mapping fields from an external format to biblio and creating a node.
Ron.
Comment #5
AndrzejG commentedsubscribe
Comment #6
comat0se commentedI'm looking for a solution here too...
I want to be able to regularly and automatically export a subset of biblio nodes based on a keyword to a sister site. I think it would technically be possible using Feeds, but it seems overly complicated as well due to the huge number of fields that would need to be exported from Biblio. It seems much more easy and efficient to filter based on keyword and export and import the bibtex file to the new one. However I don't see a method to do this automatically say using a cron job or something since there doesn't seem to be a way to grab an export link for a specific keyword something like this: /biblio/keyword/11/export/bibtex
I would hope to be able to point a cron job to grab that link regularly and then somehow automatically import it as well. Any ideas besides using Feeds?
Comment #7
mikedillion commentedsubscribe
Comment #8
tourendal commentedsubscribe
Comment #9
deboyy commentedsubscribe
Comment #10
jonathan_hunt commentedFYI, I've used Feeds to successfully import from a tab-separated file. I created a custom module, in this case nzac_library, refer code below.
It only handles the limited fields I'm interested in, so isn't a general solution. It contains some custom cleanups of incoming data (e.g. editions go from 1st to 1).
HTH
Comment #11
kevin.reiss commentedsubscribe
Comment #12
Abelito commentedsubscribe
Comment #13
humansky commented@jonathan_hunt: I'm relatively new to Drupal module development, where would I put this code? I'm trying to incorporate my own Feeds/Biblio importer, but using an XML feed. I wanted to try to understand how your code works first before I attempt to write my own. Would this work with Drupal 7?
Comment #14
jonathan_hunt commented@humansky: This code would need to go into a custom module (create a .info file and put the code into a .module file) - there are plenty of docs here on d.o to show you how. Also read the Feeds docs and for Drupal 7 note that some of the hook signatures have changed (see feeds.api.php in the Feeds module directory).
Comment #15
humansky commented@jonathan_hunt, here is my stab at using Feeds and DSpace:
http://drupal.org/sandbox/humansky/1316642
I got the "dspace" module working, but for some reason can't get the "dspace_biblio" module to populate the "$entity" in dspace_biblio_set_target(). The Feeds author changed, for the better, how they handle target mapping and node processing from Drupal 6 to 7. Just have to figure out how and I should be good to go. Check it out, let me know what you think, it's my first module, so be nice :-)~
Comment #16
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.