Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
abenson
committed
Mar 15, 2012
1 parent
b1ee6ec
commit 3cccf0d
Showing
4 changed files
with
36 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,19 @@ | ||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL; ?> | ||
<album> | ||
<title></title> | ||
<thumbWidth></thumbwidth> | ||
<thumbHeight></thumbheight> | ||
<categories> | ||
<category> | ||
<name></name> | ||
<images> | ||
<image> | ||
<title></title> | ||
<caption></caption> | ||
<fileName></filename> | ||
<path></path> | ||
<comments> | ||
<comment> | ||
<poster></poster> | ||
<message></message> | ||
</comment> | ||
</comments> | ||
<tags> | ||
<tag></tag> | ||
</tags> | ||
</image> | ||
</images> | ||
</category> | ||
</categories> | ||
<title><![CDATA[<?php echo $album->name; ?>]]></title> | ||
<images> | ||
<?php foreach ($album->images as $image): ?> | ||
<image> | ||
<title><![CDATA[<?php echo $image->title; ?>]]></title> | ||
<caption><![CDATA[<?php echo $image->caption; ?>]]></caption> | ||
<filename><?php echo $image->file_name; ?></filename> | ||
<url><?php echo $image->url; ?></url> | ||
<comments> | ||
<?php foreach ($image->comments as $comment): ?> | ||
<comment><![CDATA[<?php echo $comment; ?>]]></comment> | ||
<?php endforeach; ?> | ||
</comments> | ||
</image> | ||
<? endforeach; ?> | ||
</images> | ||
</album> |