Skip to content

Commit b39c580

Browse files
committed
Update and rename ideas & history.md to Ideas & history.md
1 parent 7b3c73a commit b39c580

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This gave me an idea to create a script that would be able to match all the diff
1111

1212
Fortunately, the discovery of the publicly available tumblr API allowed me to solve this problem. Still, requesting post info from there requires having the post ID and currently it has to be collected from the page anyway, involving searching for the post container regardless of different and often faulty designs (just how many times have I seen id attributes being used as classes?). Sometimes the post contents and post meta are in two different containers with separate parent nodes, which further complicates the search. Perhaps I should come up with something even more independent from local designs; something that would figure out which series of post the user is currently viewing and request info from API with the appropriate offset and post amount. I don't really know how to do that now, the address bar contains current page number relative to start, but every tumblr might have individual amount of posts per page, and in case of dashboard it's not applicable at all.
1313

14+
At first I only created an Opera version for personal usage, but eventually decided to go public, which meant I had to make at least a Chrome port. It was not a pleasant experience. Where everything worked intuitively simple and logical in Opera, it had to be twisted in the most unexpected ways to make it work in chrome, especially debugging. Maybe it's just the (tamper)monkey thing, but Opera supports userscripting natively and it works great.
15+
1416
### API and DB usage
1517

1618
The discovery of API and a way to easily store tags and other info across domains thanks to flash cookies allowed me to come up with a few other helper tools, that I found to be very useful since then. Some of them include a proper [two-tag search for tumblr](http://seedmanc.tumblr.com/tumblr2search), implementing the intersection of two sets of images found by each tag, and the [tumblr indexer](http://seedmanc.tumblr.com/tmblrDL), that is designed to assist in mass downloading of images from tumblr along with their tags.

0 commit comments

Comments
 (0)