Script shows comments from your friendica server in your (static website) blog.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
LubuWest 14df292d0b Search for article instead of header 5 anos atrás
LICENSE Initial commit 5 anos atrás
README.md Screenshot 5 anos atrás
friendica_comments.js Search for article instead of header 5 anos atrás
screenshot.png Screenshot 5 anos atrás
style.css Search for article instead of header 5 anos atrás
test.html Screenshot 5 anos atrás

README.md

friendica-comment

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

screenshot

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

    <script type="text/javascript"><!--
        var friendica_domain = "http://friendica_instance.com"
    //--></script> 

Name of the blog entry is in

	<article><h1> article </h1></article>

Placeholder for comments:

    <div id ="comments"></div>