|
Revision 438, 0.8 kB
(checked in by hirokai, 4 years ago)
|
fixed occasionally broken flickr thumbs
fixed broken previous mail recip if they have none...
switched to xsltproc from sabcmd...
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> |
|---|
| 2 |
|
|---|
| 3 |
<xsl:stylesheet version="1.0" |
|---|
| 4 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|---|
| 5 |
xmlns:func="http://www.exslt.org/functions" |
|---|
| 6 |
xmlns:jm3="http://jm3.net/xsl/functions" |
|---|
| 7 |
extension-element-prefixes="func" |
|---|
| 8 |
exclude-result-prefixes="jm3"> |
|---|
| 9 |
|
|---|
| 10 |
<xsl:preserve-space elements="content"/> |
|---|
| 11 |
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" /> |
|---|
| 12 |
|
|---|
| 13 |
<xsl:template match="/rsp[@stat='ok']"><!-- |
|---|
| 14 |
|
|---|
| 15 |
embedded rest call: |
|---|
| 16 |
<xsl:value-of |
|---|
| 17 |
select="document('http://www.flickr.com/services/rest/?method=flickr.photos.getSizes&api_key=91640f92a17280b1953f02c0b79956bf&photo_id=229360')/rsp"/> |
|---|
| 18 |
|
|---|
| 19 |
<xsl:text> |
|---|
| 20 |
</xsl:text> |
|---|
| 21 |
--> |
|---|
| 22 |
<xsl:value-of select="sizes/size[@label='Thumbnail']/@source" /></xsl:template> |
|---|
| 23 |
|
|---|
| 24 |
</xsl:stylesheet> |
|---|
| 25 |
|
|---|