File: reference-feed-license.rst

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. _reference.feed.license:

:py:attr:`feed.license`
=======================

A :abbr:`URL (Uniform Resource Locator)` of the license under which this feed
is distributed.

If this is a relative :abbr:`URI (Uniform Resource Identifier)`, it is
:ref:`resolved according to a set of rules <advanced.base>`.


.. rubric:: Comes from

* /atom10:feed/atom10:link[@rel="license"]/@href
* /rdf:RDF/cc:license/@rdf:resource
* /rss/channel/creativeCommons:license