mò |ªIc@smdZdZdZdZdklZdkTdkTdkl Z dk l Z dee e fd „ƒYZ d S( s0$Id: feed.py 1040 2009-02-15 20:01:32Z sa3ruby $sOSam Ruby and Mark Pilgrim s$Revision: 1040 $s,Copyright (c) 2002 Sam Ruby and Mark Pilgrim(s validatorBase(t*(situnes_channel(sextension_feedtfeedcBs¼tZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z d „Z d „Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCsdgS(Nuurn:atom-extension:indexinguindex(uurn:atom-extension:indexinguindex((tself((t=/web/script/rubys/feedvalidator.org/src/feedvalidator/feed.pytgetExpectedAttrNamesscCsg|_|idtƒdS(Nuurn:atom-extension:indexinguindex(uurn:atom-extension:indexinguindex(Rtlinkstvalidate_optional_attributetyesno(R((Rt prevalidates cCsL|i|iiiƒ|i|iiiƒg}|it |ƒ|ƒdS(N( Rtlinet dispatchertlocatort getLineNumbertcoltgetColumnNumbertoffsettlogtMissingElementtparams(RRR((RtmissingElements2cCsÇd|ijo&|ihd|i<dd<ƒnd|ijo&|ihd|i<dd<ƒnd|ijo&|ihd|i<dd<ƒnd|ijo›x˜|iD]‰}|i|ijop|idjo=|i|i i jo#|i t hd|i<ƒƒqAqE|i t hd|i<ƒƒq¼q¼Wn|id jox|iD]}|id joPqgqgW|i|i iiƒ|i|i iiƒg}|i thd|ii<d|i<ƒ|ƒnh}t}t}x4|iD])}|idjo t}n|id d gjo t}n|id jom|i|i i joWxT|iD]E}|idjo/|i thd |i<d|i<ƒƒqyqyWn|idjom|i|i i joWxT|iD]E}|idjo/|i thd |i<d|i<ƒƒqöqöWn|idjpq n|i|joh||itauthor(RRJ((Rt do_authorrs  cCs|iƒdkl}|ƒS(N(scategory(RR>tcategory(RRL((Rt do_categoryws  cCs|iƒdkl}|ƒS(N(sauthor(RR>RJ(RRJ((Rtdo_contributor|s  cCs-|iƒdkl}|ƒtƒtƒfS(N(s generator(RR>t generatortnonblankt noduplicates(RRO((Rt do_generators  cCs |iƒtƒtƒtƒfS(N(RR>t canonicaluritnowsRQ(R((Rtdo_id†s cCs&|iƒtƒtƒtƒtƒfS(N(RR>RPRTtrfc2396RQ(R((Rtdo_iconŠs cCs5|iƒdkl}|ii|ƒƒ|idS(N(slinkiÿÿÿÿ(RR>R"Rtappend(RR"((Rtdo_linkŽs  cCs&|iƒtƒtƒtƒtƒfS(N(RR>RPRTRVRQ(R((Rtdo_logo”s cCs'|iƒdkl}|ƒtƒfS(N(s textConstruct(RR>tcontentt textConstructRQ(RR\((Rtdo_title˜s  cCs'|iƒdkl}|ƒtƒfS(N(s textConstruct(RR>R[R\RQ(RR\((Rt do_subtitles  cCs'|iƒdkl}|ƒtƒfS(N(s textConstruct(RR>R[R\RQ(RR\((Rt do_rights¢s  cCs |iƒtƒtƒtƒfS(N(RR>trfc3339RTRQ(R((Rt do_updated§s cCs2d|ijo|iƒndkl}|ƒS(NR;(sentry(RR&R:R;(RR;((Rtdo_entry«s cCsdkl}|ƒtƒfS(N(s collection(tservicet collectionRQ(RRd((Rtdo_app_collection±s (t__name__t __module__RRRR:R>R9RKRMRNRRRURWRYRZR]R^R_RaRbRe(((RRs(    B               N( t__doc__t __author__t __version__t __copyright__tbaset validatorBaset validatorstloggingR7R8t extensiontextension_feedR(RRkRqRmRiRjR8((Rt?s