mò v Lc@s÷dkTdkTdkZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd efd „ƒYZ d e fd „ƒYZ defd„ƒYZ de fd„ƒYZ de fd„ƒYZdefd„ƒYZdS((t*NtOpenSearchDescriptioncBs¡tZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z d „Z d „Zd„Zd„Zd„Zd„ZRS(NcCsd|_ti|ƒdS(Ni(tselft exampleFoundt validatorBaset__init__(R((tC/web/script/rubys/feedvalidator.org/src/feedvalidator/opensearch.pyRs cCså|iiddƒ}d|ijo)|ithd|<dd<ƒƒnd|ijo)|ithd|<dd<ƒƒnd|ijo)|ithd|<dd<ƒƒn|ip|ithƒƒndS(Nt opensearch_tt ShortNametparenttelementt DescriptiontUrl(RtnametreplacetchildrentlogtMissingElementRtShouldIncludeExample(RR((Rtvalidate s))) cCstdƒtƒfS(Ni(tlengthLimitedTextt noduplicates(R((Rt do_ShortNamescCstdƒtƒfS(Ni(RR(R((Rtdo_DescriptionscCstƒS(N(R (R((Rtdo_UrlscCstƒtƒfS(N(t addr_specR(R((Rt do_ContactscCstdƒtƒfS(Ni(RR(R((Rtdo_TagsscCstdƒtƒfS(Ni0(RR(R((Rt do_LongNamescCstƒS(N(tImage(R((Rtdo_Image!scCstƒS(N(tQuery(R((Rtdo_Query#scCstdƒtƒfS(Ni@(RR(R((Rt do_Developer%scCstdƒtƒfS(Ni(RR(R((Rtdo_Attribution'scCstƒtƒfS(N(tSyndicationRightR(R((Rtdo_SyndicationRight)scCstƒtƒfS(N(t AdultContentR(R((Rtdo_AdultContent+scCstƒS(N(tLanguage(R((Rt do_Language-scCstƒS(N(tCharset(R((Rtdo_InputEncoding/scCstƒS(N(R*(R((Rtdo_OutputEncoding1s(t__name__t __module__RRRRRRRRRR!R"R#R%R'R)R+R,(((RRs"               R cBstZd„Zd„ZRS(NcCs1g}ddddgD]}|d|fq~S(Nttemplatettypet indexOffsett pageOffset(t_[1]tattrtNone(RR3R4((RtgetExpectedAttrNames5scCsG|idtƒƒ|idtƒ|idtƒ|idtƒdS( NR/R0R1R2(Nstemplate(Nstype(Ns indexOffset(Ns pageOffset(Rtvalidate_required_attributeR5tTemplatetMimeTypetvalidate_optional_attributetInteger(R((Rt prevalidate8s(R-R.R6R<(((RR 4s R8cBs;tZeidƒZdddddddgZd „ZRS( NsQ{((?:[-a-zA-Z0-9._~]|%[a-fA-F0-9]{2})+:?(?:[-a-zA-Z0-9._~]|%[a-fA-F0-9]{2})*)\??}t searchTermstcountt startIndext startPagetlanguaget inputEncodingtoutputEncodingcCsáx²|ii|iƒD]›}|idƒdjo4||ijo |ithd|<ƒƒq±q|i ddƒ\}}|i i |ƒp |ithd|<ƒƒqqW|iid|iƒ|_ti|ƒdS(Nt:itvalueis\1(RttparamtfindallREtpnametfindt valuelistRtInvalidLocalParametertsplittprefixRR t namespaceFortUndeclaredPrefixtsubt rfc2396_fullR(RRRMRH((RRCs$$(R-R.tretcompileRFRJR(((RR8>sRcBstZd„Zd„ZRS(NcCs.g}dddgD]}|d|fq~S(NtheighttwidthR0(R3R4R5(RR3R4((RR6PscCs4|idtƒ|idtƒ|idtƒdS(NRTRUR0(Nsheight(Nswidth(Nstype(RR7R5tnonNegativeIntegerR9(R((RR<Rs(R-R.R6R<(((RROs R cBstZd„Zd„ZRS(Nc CsFg}ddddddddd d d g D]}|d|fq,~S( Ntrolettitlet totalResultsR=R>R?R@RARBRCt parameter(R3R4R5(RR3R4((RR6XscCsö|idtƒ|idtdƒƒ|idtƒ|idtƒ|idtƒ|idtƒ|idt ƒ|idt ƒ|idt ƒ|idt ƒ|idt ƒ|i i dƒo)|i idƒd jod |i_ndS(NRWRXiRYR=R>R?R@RARBRCtexamplei(Nsrole(Nstitle(Nstitle(Ns totalResults(Ns searchTerms(Nscount(Ns startIndex(Ns startPage(Nslanguage(Ns inputEncoding(NsoutputEncoding(Nsrole(Nsrole(RR7R5t QueryRoleR:RtnonhtmlRVt UrlEncodedR;tiso639R*tattrsthas_keytgetValueR R(R((RR<]s,(R-R.R6R<(((RR Ws R\cBs/tZeZddddddgZd„ZRS(NtrequestR[trelatedt correctiontsubsettsupersetcCs||iidƒdjoti|ƒnO|iiddƒ\}}|ii |ƒp |i t hd|<ƒƒndS(NRDiiRE( RRERIt enumerationRRLRMRR RNRRO(RRMR((RRrs (R-R.tInvalidLocalRoleterrorRJR(((RR\nsR^cBstZd„ZRS(NcCs©dkl}l}dk}x†|iiƒD]u}t|ƒtjo|i dƒ}n|i dd„|ƒ}||||ƒƒjo|i t hƒƒPq,q,WdS(N(squotesunquotesutf-8s%\w\wcCs|idƒiƒS(Ni(txtgrouptupper(Rk((Rt€s( turllibtquotetunquoteRRRRERLR0tunicodetencodeRPRt NotURLEncoded(RRqRpRERR((RR{s (R-R.R(((RR^zsR$cBs)tZeZddddgZd„ZRS(NtopentlimitedtprivatetclosedcCs#|iiƒ|_ti|ƒdS(N(RREtlowerRhR(R((RRˆs(R-R.tInvalidSyndicationRightRjRJR(((RR$…sR&c Bs2tZeZddddddddd d g ZRS( NtfalsetFALSEt0tnotNOttruetTRUEt1tyestYES(R-R.tInvalidAdultContentRjRJ(((RR&ŒsR(cBstZd„ZRS(NcCs%|idjoti|ƒndS(NR(RRER_R(R((RR’s(R-R.R(((RR(‘s(t validatorstloggingRRRRR RQR8RR RhR\R^R$R&R_R(( R(R RR&RRRR\R^R8R$R ((Rt?s /