Skip to content

Commit

Permalink
Tidy up core
Browse files Browse the repository at this point in the history
  • Loading branch information
spekulatius committed Nov 10, 2022
1 parent 6cf3489 commit ef6f13e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@
namespace spekulatius;

/**
* This class organizes mostly. For individual functionality please check the related traits.
* This class organizes mostly. For individual functionality check the related traits please.
*/

class Core
{
/**
* Shared simple parsers.
*/
use UsesParsers;

/**
* Url related helpers.
*/
Expand All @@ -33,6 +28,11 @@ class Core
*/
use UsesContent;

/**
* Shared simple parsers for XML, JSON and CSV.
*/
use UsesParsers;

/**
* This contains the feeds-related selectors and parsers.
*/
Expand Down
2 changes: 1 addition & 1 deletion websites/examples/scrape-feeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PHPScraper can identify and process feeds (RSS feeds, sitemaps, etc.) for you. T

## Identify RSS Feed URLs

Websites can define RSS feeds in the head section of their markup. PHPScraper allows to identify the RSS feeds of the current page using `rssUrls`:
Websites can define RSS feeds in the head section of their markup. PHPScraper allows to identify any RSS feeds of the current page using `rssUrls`:

```php
$web = new \spekulatius\phpscraper;
Expand Down

0 comments on commit ef6f13e

Please sign in to comment.