Re-fetch page for which title is missing
Adding a link to pocket results in a "null" title
Steps to reproduce:
- Right-click on a link
- Click "Add to pocket"
Comments (7)
-
repo owner -
reporter Interesting, not every link produces a "null" title.
- Firefox Dev 59.0b11
- In My Pocket 0.8.1
-
repo owner - changed status to open
Oh indeed, I have problems with links from "Greasy forum" too. Still, for some of your examples (bitbucket.org/eight04/ for instance), I'm not getting a null title.
Anyway I'll look into it, based on greasy forums links at least, and fix this.
-
repo owner Well, I don't have an obvious explanation yet. I might have a solution but no easy fix (if no title, I could fetch the page and parse it to get the title part) : the link is not yet opened so I don't have it's title available, and the pocket api returns a null title.
I'm currently checking with Pocket API team if there might be a fix on their side, and otherwise I'll look into solutions for this issue.
-
reporter fetch the page and parse it to get the title part
Maybe it is possible to fetch the title from Pocket API by making another request. I can see the title from https://getpocket.com/a/queue/.
-
repo owner Yep you're right, I forgot that the subsequent syncs do retrieve the title correctly.
-
repo owner - changed title to Re-fetch page for which title is missing
- edited description
- Log in to comment
Hi ! Thanks for the report. I can't reproduce this issue, everything works fine on my side for right-click "add to pocket", the title is correctly set.