开发者 |
jbrinley
emorgan |
---|---|
更新时间 | 2008年11月4日 05:35 |
PHP版本: | 2.3 及以上 |
WordPress版本: | 2.6 |
Add the query string ?feed=doaj
to the end of the URL for any page on your site.
http://example.com/?feed=doaj
http://example.com/tags/foo?feed=doaj
http://example.com/?s=bar&feed=doaj
If mod_rewrite is enabled on your site (i.e., you have pretty URLs), you can also access the feed by appending /feed/doaj
to your URL.
http://example.com/feed/doaj
http://example.com/tags/foo/feed/doaj
http://example.com/feed/doaj?s=bar
The plugin assumes you have a category for each issue named "Issue #", where # is the number of the issue. The issue categories should be child categories of either an "Issues" category or of a "Volume #" category. If the former, the output won't include a volume number. If the latter, the volume number will come from the volume's category name.
Short answer: you can't.
Long answer: The DOAJ article XML schema requires language codes from ISO 639-2. WordPress only gives them in ISO 639-1 (using bloginfo('language');
). So for now, the "eng" language code is hard coded into the template. If you need to change this, edit the file "doaj-template.php" in the plugin's directory, replacing the four instances of "eng" with the three-letter code for the language of your choice.