2017 © Pedro Peláez
 

library tr_worker

TotalRecalls Worker

image

alfred-nutile-inc/tr_worker

TotalRecalls Worker

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Get Feeds!

Example using the parser I am using

<?php
        /***
         * Example usage 
         */

        /**
         * @var ezcFeedEntryElement
         * @var ezcFeedContentModule
         */
        foreach($parsed->item as $item)
        {
            var_dump($item);
            var_dump($item->id->id);
            //Description
            var_dump($item->description);
            //Categories
            // can includes stores! One says Whole Foods Market
            // Food Recalls is the core of this one
            var_dump($item->category);
            //Title
            $item->title->string
            //URL to the Article
            // I would like to save this for permalink type work
            var_dump($item->link[0]->href);
            //Comments url?
            var_dump($item->comments);
        }

See the test for more info, (*1)

The Versions