From eda54c62c7c485c23fe985c2577287d4148ff601 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Thu, 31 Aug 2006 17:01:40 -0400 Subject: [PATCH] Add channel_link --- planet/shell/tmpl.py | 1 + tests/data/filter/tmpl/source_link.xml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/data/filter/tmpl/source_link.xml diff --git a/planet/shell/tmpl.py b/planet/shell/tmpl.py index f5c038e..63cc5db 100644 --- a/planet/shell/tmpl.py +++ b/planet/shell/tmpl.py @@ -73,6 +73,7 @@ Base = [ ['last_updated_822', Rfc822, 'updated_parsed'], ['last_updated_iso', Rfc3399, 'updated_parsed'], ['last_updated', PlanetDate, 'updated_parsed'], + ['link', String, 'link'], ['logo', String, 'logo'], ['rights', String, 'rights_detail', 'value'], ['subtitle', String, 'subtitle_detail', 'value'], diff --git a/tests/data/filter/tmpl/source_link.xml b/tests/data/filter/tmpl/source_link.xml new file mode 100644 index 0000000..3a1bc55 --- /dev/null +++ b/tests/data/filter/tmpl/source_link.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + +