diff --git a/README.md b/README.md index 0184b58..aefb09e 100644 --- a/README.md +++ b/README.md @@ -1,35 +1,40 @@ -## friendica-comment# +# friendica-comment # Script shows comments from your friendica server in your (static website) blog. Possible replacement for disqus. -## Requirements ## +# Requirements # -# CORS # +## 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 # +## Friendica ## RSS of your blog must be in your contacts and configured as 'remote_self' (articles are shown in your public friendica timeline). -# Blog # +## Blog ## In blog html: friendica_domain must be set - + -Name of the blog entry is in

article

+Name of the blog entry is in +

article

Placeholder for comments:
## TODO ## * connection to friendica via https -* CSS for ,
,
+* CSS for + ,
,