please excuse me if my English is poor,
@bentael said:
Ok, looking at the schema, it seems pretty straight forward, we can deal with the anonymous users, and for the non-anonymous, we can create an account for them.
This is a good idea.
@bentael said:
However, there is 1 problem, each disqus thread doesn't really have a content, it just links to another page somewhere.
disqus threads
have a link to a website page that loads Comments on it like article in nodebb-plugin-blog-comments
.
so every thread have some posts
as a child! ( actually post = comment
, each thread have multiple posts or nothing ( dead thread ) )
for example:
<post dsq:id="1201879787">
<id />
<message>
<![CDATA[<p>کی جزوه خود اقای رمضانی در مورد نوسان و خازن را می گذارید</p>]]>
</message>
<createdAt>2014-01-15T14:24:05Z</createdAt>
<isDeleted>false</isDeleted>
<isSpam>false</isSpam>
<author>
<email>[email protected]</email>
<name>علی</name>
<isAnonymous>true</isAnonymous>
</author>
<ipAddress>5.22.92.163</ipAddress>
<thread dsq:id="2940898899" />
</post>
in last line of this post point to a thread
with 2940898899
id.
Also maybe each post has a parent ( for example reply to existing post )
Like this:
<post dsq:id="1202644249">
<id />
<message><![CDATA[<p>در صورتی که تمایل دارید به مطالب مورد نظر دسترسی راحت تری داشته باشید،</p><p>هر مطلب را در قسمت مربوط به آن مطرح نمایید</p><p>به طور مثال از این پس سوالات خود را در تالار دبیرستان مطرح نمایید.</p><p>اما پاسخ سوال شما :</p><p><a href="http://www.forum.sanatisharif.ir/b153/t79/msg1391/#msg1391" rel="nofollow">http://www.forum.sanatisharif....</a></p>]]>
</message>
<createdAt>2014-01-15T21:45:41Z</createdAt>
<isDeleted>false</isDeleted>
<isSpam>false</isSpam>
<author>
<email>[email protected]</email>
<name>دبیرستان غیردولتی پسرانه دانشگ</name>
<isAnonymous>false</isAnonymous>
<username>sanatisharif</username>
</author>
<ipAddress>2.190.119.94</ipAddress>
<thread dsq:id="2940898899" />
<parent dsq:id="1201879787" />
</post>
these two post that I post them here belong to a thread
with 2940898899
id :
<thread dsq:id="2940898899">
<id />
<forum>sanatisharif</forum>
<category dsq:id="2822236" />
<link>http://sanatisharif.ir/Sanati-Sharif-Lesson/11/4/</link>
<title>جزوات درس فیزیک</title>
<message />
<createdAt>2014-08-19T16:13:31Z</createdAt>
<author>
<email>[email protected]</email>
<name>دبیرستان غیردولتی پسرانه دانشگ</name>
<isAnonymous>false</isAnonymous>
<username>sanatisharif</username>
</author>
<ipAddress>199.30.24.167</ipAddress>
<isClosed>false</isClosed>
<isDeleted>false</isDeleted>
</thread>
@bentael said:
You have 2 options:
I want to merge disqus thread ( thread posts ) to topic that publish it using this plugin https://github.com/psychobunny/nodebb-plugin-blog-comments which @psychobunny wrote.
I think merging with existing article related to this issues:
https://github.com/NodeBB/NodeBB/issues/3951
https://github.com/NodeBB/NodeBB/issues/3106
please tell me, if i'm wrong!
@bentael said:
I couldn't figure out which CMS you're using on http://sanatisharif.ir to see if it's Ghost or WordPress or something else
we don't have any cms, just a php
website!
Thanks a lot,