[ReDev] X- attribute treatment
'Christian Zimmermann'
zimmermann at stlouisfed.org
Wed Jul 6 12:02:12 UTC 2016
Good idea. I just noticed that Springer puts the DOI in x-doi. I can use
that.
Christian Zimmermann FIGUGEGL!
Economic Research
Federal Reserve Bank of St. Louis
P.O. Box 442
St. Louis MO 63166-0442 USA
https://ideas.repec.org/zimm/ @CZimm_economist
On Wed, 6 Jul 2016, Thomas Krichel wrote:
>
> Sune Karlsson, on CitEc-run, wrote
>
>> That was not a terribly good fix. Turns out that $attribute can be undefined so
>>
>> $value = decode_and_strip_html( $value ) unless defined $attribute and $attribute eq 'x-bibl';
>>
>> is better unless you want a lot of warnings about $attribute being undefined.
>
> What abouot disabling stripping for all x-attributes
>
> $value = decode_and_strip_html($value)
> unless defined $attribute and lc(substr($attribute,0,2)) eq 'x-');
>
> --
>
> Cheers,
>
> Thomas Krichel http://openlib.org/home/krichel
> skype:thomaskrichel
>
> _______________________________________________
> ReDIF-dev mailing list
> ReDIF-dev at lists.openlib.org
> http://lists.openlib.org/cgi-bin/mailman/listinfo/redif-dev
>
More information about the ReDIF-dev
mailing list