0.4
New Featurs:
- PEAR::OAI server reduced to only care about protocol layer, content response is created by backend
- modular plugin architecture for various types of backends provided by different vendors
- modular plugin architecture for markup output
- getRecord takes metadata prefix as argument
- moved methods for identifier masquerading to backend abstract class (Server/Backend.php)
- check if backend supports a certain method
- split descriptions (e.g. friends) from Identify.tpl to separate templates
- new helper class for template parsing (Server/Output.php)
- using static oai prefix when dealing with masquerading (better performance)
Bugs fixed:
- renamed Server/tpl/ListIdentifiers_oai_dc.tpl to Server/tpl/ListIdentifiers.tpl because there is no output specific to a metadata format
- stripped off php version check in OAI_Base::xmlEncode() because we only work with PHP >= 4.2.0
- all XML output UTF-8 encoded
Miscellaneous
- replaced OAI_Base::recordStorage() with OAI_Server::backend()
- OAI_Server::backend takes instantiated backend object as argument
- deleted template_path option for OAI, instead, we have packages for output, located in the OAI/Output/ directory
- more documentation, now edited online in a Wiki at http://www.zzoss.com/phpwiki/index.php/PearOai
0.3
New Featurs:
- almost full OAI-PMH version 2.0 compliance (tested with OAI Repository Explorer, http://oai.dlib.vt.edu/cgi-bin/Explorer/oai2.0/testoai)
- requires PHP greater or equal 4.2.0 due to session bug in PHP 4.1.2
- debug mode to track errors
- checks if resumption token is within expiration date
- added OAI_Base::getPackageVersion()
- automatically compose sample identifier
- store tokens either in filesystem or DB (using PEAR::HTTP_Session)
Bugs fixed:
- empty response with gzip encoding
- OAI Repository Explorer error: "White space is required between the public identifier and the system identifier" caused by wrong assignment of OAI schema location constant
- OAI Repository Explorer error: "Datatype error: In element 'repositoryIdentifier' : Value 'aName' does not match regular expression facet '[a-zA-Z][a-zA-Z0-9\-]*(\.[a-zA-Z][a-zA-Z0-9\-]+)+'..". Resolution: changed aName to example.com because dot is required
- OAI Repository Explorer error: "The content of element type "metadata" is incomplete, it must match "(##other:uri=http://www.openarchives.org/OAI/2.0/)". Resolution: caused by left-over opening and closing metadata tag when showing deleted records
- datestamp in GetRecord and ListRecords was not UTC conform
0.2
New Featurs:
- resumption token uses PHP session functions instead of homegrown token storage management. this way, the built-in PHP session functionality can be used, e.g. like defining different storage backends, garbage collection, etc.
- added ini_set('include_path', ) in tests/oai_server.php
- check whether ob_gzhandler is turned on in php.ini if user decided to turn on gzip compression for OAI Server
- check if zlib.output_compression is off in php.ini to avoid interference with ob_gzhandler
- OAI Server now issues HTTP 500 Internal Server Error if anything went wrong inside that is not specified as OAI protocol error
- added missing inline comments
Bugs fixed:
- package.xml
- deleting Client.php from filelist
- adding Token/Container/File.php to filelist
- DSN of token storage was not passed properly
- wrong time string in responseDate of OAI envelope and expirationDate of resumption Token
0.1.1
Bugs fixed:
- package.xml: added missing Token/ files
-- SandroZic
PHP Warnings
lib/WikiUser.php:50: Notice[8]: Only variables should be assigned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference
lib/Template.php:220: Notice[8]: Only variables should be assigned by reference
lib/Template.php:106: Notice[8]: Only variables should be assigned by reference
lib/Template.php:107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'top'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'top'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/pear/DB/common.php(In template 'navbar'?)(In template 'top'?)(In template 'body'?)(In template 'html'?):741: Notice[8]: Only variable references should be returned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'browse'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'browse'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'actionbar'?)(In template 'browse'?)(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'actionbar'?)(In template 'browse'?)(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):106: Notice[8]: Only variables should be assigned by reference
lib/Template.php(In template 'body'?)(In template 'html'?):107: Notice[8]: Only variables should be assigned by reference
Page Execution took 0.141 seconds |