Script shows comments from your friendica server in your (static website) blog.
Go to file
LubuWest 01a1d88d6c Changes in README.md 2015-05-25 18:01:29 +02:00
LICENSE Initial commit 2015-05-25 17:22:07 +02:00
README.md Changes in README.md 2015-05-25 18:01:29 +02:00
friendica_comments.js Initial version 2015-05-25 17:50:36 +02:00
test.html Initial version 2015-05-25 17:50:36 +02:00

README.md

friendica-comment

Script shows comments from your friendica server in your (static website) blog. Possible replacement for disqus.

Requirements

CORS

[CORS] (http://enable-cors.org) (Cross Site Scripting) must be activated: in .htaccess:

Header add Access-Control-Allow-Origin "*"

Header add Access-Control-Allow-Methods: "GET"

In apache module headers must be activated:

a2enmod headers    

Friendica

RSS of your blog must be in your contacts and configured as 'remote_self' (articles are shown in your public friendica timeline).

Blog

In blog html:

friendica_domain must be set

Name of the blog entry is in

article

Placeholder for comments:

TODO

  • connection to friendica via https
  • CSS for ,
    ,