mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[DerpibooruBridge] Fix parsing of title (#2346)
The previous value was an int and was not accepted by rss-bridge as a title. This change uses the image name instead which fixes the problem and is a better title than the image id.
This commit is contained in:
parent
b9d92150e1
commit
b48739d0ba
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class DerpibooruBridge extends BridgeAbstract {
|
|||
$postUri = self::URI . $post->id;
|
||||
|
||||
$item['uri'] = $postUri;
|
||||
$item['title'] = $post->id;
|
||||
$item['title'] = $post->name;
|
||||
$item['timestamp'] = strtotime($post->created_at);
|
||||
$item['author'] = $post->uploader;
|
||||
$item['enclosures'] = array($post->view_url);
|
||||
|
|
Loading…
Add table
Reference in a new issue