Allow verify-ssl on official feed links
This commit is contained in:
parent
eb431dc9bf
commit
7277ed40eb
29
itsb.xsd
29
itsb.xsd
|
@ -1,5 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema targetNamespace="http://tilde.town/~lucidiot/itsb/" version="1.0" elementFormDefault="qualified" xmlns="http://tilde.town/~lucidiot/itsb/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:complexType name="itsbURL">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:anyURI">
|
||||
<xs:attribute name="verify-ssl" type="xs:boolean" use="optional" default="true">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Whether or not an automated script should verify or ignore the validity
|
||||
of the SSL certificate for an HTTPS URL.
|
||||
This is commonly required due to poor website management.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="itsb">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
|
@ -110,19 +126,12 @@
|
|||
<xs:element name="curl">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="url">
|
||||
<xs:element name="url" type="itsbURL">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
URL of the original HTML webpage that will be retrieved to be converted into a feed.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:anyURI">
|
||||
<xs:attribute name="verify-ssl" type="xs:boolean" use="optional" default="true" />
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="header" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
|
@ -274,7 +283,7 @@
|
|||
</xs:element>
|
||||
</xs:sequence>
|
||||
|
||||
<xs:element name="link" type="xs:anyURI">
|
||||
<xs:element name="link" type="itsbURL">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
URL to an external syndication feed.
|
||||
|
@ -335,4 +344,4 @@
|
|||
<xs:attribute name="version" use="required" fixed="1.0" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
</xs:schema>
|
||||
|
|
Loading…
Reference in New Issue