Skip to content

Instantly share code, notes, and snippets.

@joanhey
joanhey / feed.phtml
Last active Jan 28, 2016
Kumbia Partial: show feed
View feed.phtml
<?php
/**
* Visualizar feed RSS por Joanhey
*
* @param string $name Nombre
* @param string $url URL completa del feed
* @return html
*/
if ($feed = simplexml_load_file($url)): ?>