Skip to content

reads comments from a reddit post, use external api to analyze its contents

Notifications You must be signed in to change notification settings

zzlyn/TL-DReddit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;D-Reddit

reads comments from a reddit post, use external api to analyze its contents

2017-08-06

Using a recursive method, now I can retrieve all comments on a reddit post regardless of how deep/long the comment tree is.

Now I have to figure out what external api to use to process these comment data, google seems like the first choice here but we will see.

This readme.md is my dev log for now, update it to a description of the project (which it should be) later.

2017-08-08

Using Aylien apis, I added in sentimental analysis and summarization after recursively collecting all comments on the post into a string ArrayList.

I have only done limited researches so I will probably replace aylien with something else in the future.

Can I embed this into a browser?

2017-08-22

This program now functions as a Java based RESTful service, expecting a http get request with URL parameter "postUrl" and value is encoded reddit domain url.

Needs to improve performance on this backend, not aiming for monster response speed since its not really necessary. removing unwanted & unimportant codes should be enough.

Server bugs out when:

  1. url is not on reddit domain - easy fix
  2. post comments has special symbols (?) need to test more on this

Later features (if I don't get lazy):

  1. Better formatting on response, maybe respond a json instead.
  2. Weighing on each comment.
  3. More

2017-10-09 generic to-do-list

#Chrome Ext. Side

  • Use call back to change temporary text to analysis response -> done, Synchrnous xmlhttprequest in Js blocks operations in functions and freezez Js engine. Had to change xmlhttprequest to async.
  • Format JSON data coming from backend with different font sizes for better visability *

#Back-end Java

  • Refactor
  • Move recursive parser class to test package -> done, no longer needed
  • Send JSON instead of pure text *

2018-04-20

  • potential refactor to use this API: https://dandelion.eu/
  • cleaner service endpoint, but requires writing own client

About

reads comments from a reddit post, use external api to analyze its contents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages