Skip to content

Commit

Permalink
Merge branch 'richard67-master-remove-addthis'
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Ratz committed Oct 25, 2023
2 parents 845a871 + 0043634 commit a50a4eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 43 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This document describes the PHP backend of Shariff.

Supported services
------------------
- AddThis
- Buffer
- Facebook
- Pinterest
Expand Down Expand Up @@ -122,7 +121,6 @@ private static $configuration = [
'StumbleUpon',
'Pinterest',
'Xing',
'AddThis',
'Buffer',
'Vk'
],
Expand All @@ -140,7 +138,7 @@ Testing your installation
If the backend runs under `http://example.com/my-shariff-backend/`, calling the URL `http://example.com/my-shariff-backend/?url=http%3A%2F%2Fwww.example.com` should return a JSON structure with numbers in it, e.g.:

```json
{"facebook":1452,"reddit":7,"stumbleupon":4325,"pinterest":3,"addthis":33,"buffer":29,"vk":326}
{"facebook":1452,"reddit":7,"stumbleupon":4325,"pinterest":3,"buffer":29,"vk":326}
```


Expand All @@ -155,7 +153,7 @@ use Heise\Shariff\Backend;
$options = [
"domains" => ["www.heise.de", "www.ct.de"],
"cache" => ["ttl" => 1],
"services" => ["Facebook", "Reddit", "StumbleUpon", "Pinterest", "AddThis", "Buffer", "Vk"]
"services" => ["Facebook", "Reddit", "StumbleUpon", "Pinterest", "Buffer", "Vk"]
];
$shariff = new Backend($options);
$counts = $shariff->get("https://www.heise.de/");
Expand Down
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class Application
'StumbleUpon',
'Pinterest',
'Xing',
'AddThis',
'Buffer',
'Vk'
]
Expand Down
38 changes: 0 additions & 38 deletions src/Backend/AddThis.php

This file was deleted.

0 comments on commit a50a4eb

Please sign in to comment.