File: //usr/local/lib/python3.6/site-packages/feedparser/namespaces/__pycache__/_base.cpython-36.pyc
3
_9j�B � @ s@ d dl Z ddlmZ ddlmZ ddlmZ G dd� de�ZdS )� N� )�_parse_date)�make_safe_absolute_uri)�FeedParserDictc @ s� e Zd ZdZdddddddddddddd�
Zdd� Zdd� Zdd � Zd
d� Zdd
� Z e Z
dd� Zdd� Zdd� Z
e
Zdd� ZeZdd� ZeZdd� ZeZdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� ZeZeZd,d-� Z e Z!e Z"d.d/� Z#d0d1� Z$d2d3� Z%e%Z&d4d5� Z'e'Z(d6d7� Z)e)Z*d8d9� Z+e+Z,d:d;� Z-e-Z.d<d=� Z/e/Z0d>d?� Z1d@dA� Z2dBdC� Z3dDdE� Z4dFdG� Z5e5Z6e5Z7dHdI� Z8e8Z9e8Z:dJdK� Z;e;Z<e;Z=dLdM� Z>e>Z?e>Z@dNdO� ZAdPdQ� ZBdRdS� ZCdTdU� ZDdVdW� ZEeEZFdXdY� ZGeGZHdZd[� ZId\d]� ZJd^d_� ZKd`da� ZLeLZMdbdc� ZNeNZOddde� ZPdfdg� ZQdhdi� ZRdjdk� ZSdldm� ZTeTZUdndo� ZVeVZWdpdq� ZXeXZYdrds� ZZdtdu� Z[dvdw� Z\dxdy� Z]dzd{� Z^d|d}� Z_d~d� Z`d�d�� Zad�d�� ZbebZcd�d�� ZdedZed�d�� ZfefZgefZhefZiefZjd�d�� Zkd�d�� Zld�S )�� Namespacez�Support for the Atom, RSS, RDF, and CDF feed formats.
The feed formats all share common elements, some of which have conflicting
interpretations. For simplicity, all of the base feed format support is
collected here.
� )
r zhttp://backend.userland.com/rssz%http://blogs.law.harvard.edu/tech/rsszhttp://purl.org/rss/1.0/z&http://my.netscape.com/rdf/simple/0.9/zhttp://example.com/newformat#zhttp://example.com/nechozhttp://purl.org/echo/zuri/of/echo/namespace#zhttp://purl.org/pie/zhttp://purl.org/atom/ns#zhttp://www.w3.org/2005/Atomz'http://purl.org/rss/1.0/modules/rss091#c C sb ddddd�}| j s$| j jd� r^|jdd�}|j|�}|rF|| _ n|jd �rXd
| _ nd| _ d S )NZrss091uZrss092Zrss093Zrss094)z0.91z0.92z0.93z0.94Zrss�versionr z2.Zrss20)r �
startswith�get)�self�attrs_d�
versionmap�attr_versionr � r �E/usr/local/lib/python3.6/site-packages/feedparser/namespaces/_base.py�
_start_rss<