Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/connormac/dotheylikeme
https://github.com/connormac/dotheylikeme
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/connormac/dotheylikeme
- Owner: ConnorMac
- Created: 2016-02-22T20:13:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-22T21:07:46.000Z (over 8 years ago)
- Last Synced: 2024-03-20T03:32:54.562Z (8 months ago)
- Language: PHP
- Size: 6.89 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Do They Like Me
Sentiment Analysis library [PHPInsight](https://github.com/JWHennessey/phpInsight)
## Installation
Setup should not require a database but if Cake complains setup a default one called: dotheylikeme
My home setup is using PHP 7.0.0 but it should work fine on earlier versions.
## Disclaimer
The Reddit API calls that run to get the comments for the threads it finds can take a while so be patient. I have yet to find a way to
optimize it.Currently it uses the Reddit search API call to get the 10 most relevant posts within the month and then all the comments from
those threads. It then filters out the ones that just contain the search keyword and rates those.## Key Files
/src/Controller/AnalysisController.php (Main logic)
/src/Template/Layout/default.ctp (default wrapper)
/src/Template/Analysis/index.ctp (index view)
/src/Template/Analysis/search.ctp (ajax view)/webroot/js/app.js (custom js)
/webroot/css/app.css (custom styling)## Missing Functionality
Currently there is no way to sort comments by date