Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's in my bag this week? #1300

Closed
packetgeek opened this issue Aug 8, 2015 · 6 comments
Closed

What's in my bag this week? #1300

packetgeek opened this issue Aug 8, 2015 · 6 comments
Labels

Comments

@packetgeek
Copy link

Thomas Citharel asked that I open an issue here to discuss a side project of mine...

I've added the ability to create a Blogger (or similar) post tracking recent articles that have been saved to Wallabag (even after they've been deleted from Wallabag). Short version: I added 4 lines of code to the add function in Database.class.php. When an article is added, the title and url are logged ot a new table called bag (id, title, url, user_id, timestamp).

A separate script can: delete individual entries, delete all entries, view what the post will look like, and view the raw html for the post (which is what I copy and paste into Blogger).

Current shortcomings: script currently doesn't differentiate between users (I'm the only user on a local instance of Wallabag).

Wish list: posting directly to Blogger (or Wordpress), without having to copy and paste.

Example output is at: http://www.neighborhoodtechie.com/2015/08/whats-been-in-my-bag-this-week-20150808.html

@nicosomb
Copy link
Member

nicosomb commented Aug 8, 2015

What a nice feature.
Maybe you can share your code on github to other wallabag users.

@packetgeek
Copy link
Author

Nicolas,

My apologies. It's posted at https://github.com/packetgeek/wbimb

  • Tim

@j0k3r
Copy link
Member

j0k3r commented Aug 9, 2015

Your work will be a little bit easier with the v2 API :)
By the way, I don't see the point of creating an issue to showcase your side project (even if it's a cool one).

From my POV, what you need (in your wishlist) will be fixed once the v2 will be out. You will be able to use the API to get last content from Wallabag and then use the Blogger API to post your blogpost.

@tcitworld
Copy link
Member

By the way, I don't see the point of creating an issue to showcase your side project (even if it's a cool one).

I asked him to.

@j0k3r
Copy link
Member

j0k3r commented Aug 9, 2015

@tcitworld well, maybe a simple blogpost in the wallabag blog should be enough. I don't think a lot of people are reading issues here to discover wallabag side project :)

@packetgeek
Copy link
Author

@j0k3r The Blogger API is still up? Thought that they'd turned that off (saw comments to such and couldn't get the Oauth2 thing to work). Thanks for the link, though. Will take another look at that.

@nicosomb nicosomb added this to the 2.1.0 milestone Jan 24, 2016
@nicosomb nicosomb modified the milestone: 2.1.0 Apr 12, 2016
@j0k3r j0k3r closed this as completed Sep 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants