Created
July 5, 2013 21:20
-
-
Save coreyweb/5937334 to your computer and use it in GitHub Desktop.
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
<?php if ($feed = coreylib('http://api.bigcartel.com/notreble/products.xml','10 minutes')) { ?> | |
<?php foreach($feed->get('product') as $product) { ?> | |
<p><strong>URL: </strong> http://shop.notreble.com<?php echo $product->get('url') ?></p> | |
<p><strong>Item name: </strong> <?php echo $product->get('name') ?></p> | |
<p><strong>Item image: </strong> <?php echo $product->get('image/url') ?></p> | |
<hr /> | |
<?php } ?> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment