Difference between revisions of "Code4Lib Journal Entries in Directory of Open Access Journals"
From Code4Lib
(→Semi-Automated) |
(→Semi-Automated) |
||
Line 18: | Line 18: | ||
#* Upload both files to a schema validator service such as http://tools.decisionsoft.com/schemaValidate/ | #* Upload both files to a schema validator service such as http://tools.decisionsoft.com/schemaValidate/ | ||
# go to http://www.doaj.org/restricted and upload the fruits of your labors. See this [http://groups.google.com/group/c4lj-articles/browse_thread/thread/ba2efed674d66d7a post] for username and password information. | # go to http://www.doaj.org/restricted and upload the fruits of your labors. See this [http://groups.google.com/group/c4lj-articles/browse_thread/thread/ba2efed674d66d7a post] for username and password information. | ||
+ | |||
+ | Note: if there are any sub-elements in the XML fields (e.g., HTML tags), the document will not validate. Also of note, Windows often creates character encoding that breaks with UTF-8, throwing an error on validation. | ||
More info about the feed and how to customize the XML for import into DOAJ: | More info about the feed and how to customize the XML for import into DOAJ: |
Revision as of 14:04, 5 February 2012
There are two ways to get metadata into the Directory of Open Access Journals: 1) by hand, or 2) through the use of an XML file. Before you do either method, please keep in mind the following things:
- We chose not to have volume numbers, just issue numbers. Issue numbers will just keep incrementing.
- We decided that the "record number" for an article is the article-id that shows up in the WordPress URI. That is, they are not sequential, numbers are skipped. That's fine. So there is no 'start page', but there is a 'record number'; there is no 'end page'.
- Enter the abstract and authors affiliation exactly as found in our published articles.
- Enter keywords if there are any. If not, leave this blank
SGzt3u Excellent article, I will take note. Many thanks for the story!
Semi-Automated
To use the XML file to do data entry:
- make sure the WordPress databases is up-to-date,
- go to http://journal.code4lib.org/issues/issue#/feed/doaj (replace # with the current issue number) to get the necessary XML. (eg http://journal.code4lib.org/issues/issue5/feed/doaj.)
- edit the XML so each author is in a element by themselves,
- validate the XML against the Directory's schema,
- Download a copy of the DOAJ schema, http://www.doaj.org/schemas/doajArticles.xsd , to your computer along with the XML file you've just edited.
- Upload both files to a schema validator service such as http://tools.decisionsoft.com/schemaValidate/
- go to http://www.doaj.org/restricted and upload the fruits of your labors. See this post for username and password information.
Note: if there are any sub-elements in the XML fields (e.g., HTML tags), the document will not validate. Also of note, Windows often creates character encoding that breaks with UTF-8, throwing an error on validation.
More info about the feed and how to customize the XML for import into DOAJ:
--Eric Lease Morgan 10:42, 28 May 2008 (PDT)