This commit is contained in:
parent
42ebdf4c9a
commit
fdea2666f2
8
itsb.xml
8
itsb.xml
|
@ -222,13 +222,13 @@
|
|||
<type>Aviation</type>
|
||||
<frequency>10-20 reports/year</frequency>
|
||||
<feed lang="Italian" type="aviation" format="rss" id="ansv-rss">
|
||||
<link>https://ansv.it/category/relazioni-dinchiesta/feed/</link>
|
||||
<link verify-ssl="false">https://ansv.it/category/relazioni-dinchiesta/feed/</link>
|
||||
</feed>
|
||||
<feed lang="Italian" type="aviation" format="atom" id="ansv-atom">
|
||||
<link>https://ansv.it/category/relazioni-dinchiesta/feed/atom/</link>
|
||||
<link verify-ssl="false">https://ansv.it/category/relazioni-dinchiesta/feed/atom/</link>
|
||||
</feed>
|
||||
<feed lang="Italian" type="aviation" format="rdf" id="ansv-rdf">
|
||||
<link>https://ansv.it/category/relazioni-dinchiesta/feed/rdf/</link>
|
||||
<link verify-ssl="false">https://ansv.it/category/relazioni-dinchiesta/feed/rdf/</link>
|
||||
</feed>
|
||||
</source>
|
||||
|
||||
|
@ -1188,7 +1188,7 @@
|
|||
<curl>
|
||||
<url>https://www.aac.gob.sv/?page_id=1006</url>
|
||||
</curl>
|
||||
<pup>tr:not(:first-child)</pup>
|
||||
<pup>tr:not(:first-child)</pup>
|
||||
<jq path="aac.jq" />
|
||||
<json2xml />
|
||||
<output>aac.xml</output>
|
||||
|
|
|
@ -53,6 +53,11 @@
|
|||
<xsl:otherwise>
|
||||
<curl>
|
||||
<url>
|
||||
<xsl:if test="itsb:link[@verify-ssl]">
|
||||
<xsl:attribute name="verify-ssl">
|
||||
<xsl:value-of select="itsb:link/@verify-ssl" />
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:value-of select="itsb:link/text()" />
|
||||
</url>
|
||||
<!-- Some official feeds do not work with curl's user agent -->
|
||||
|
@ -153,6 +158,11 @@
|
|||
<xsl:otherwise>
|
||||
<curl>
|
||||
<url>
|
||||
<xsl:if test="itsb:link[@verify-ssl]">
|
||||
<xsl:attribute name="verify-ssl">
|
||||
<xsl:value-of select="itsb:link/@verify-ssl" />
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:value-of select="itsb:link/text()" />
|
||||
</url>
|
||||
<!-- Some official feeds do not work with curl's user agent -->
|
||||
|
|
Loading…
Reference in New Issue