if i insert strings in the topic table in database will it serve as a topic in discourse or not?
You probably want to use the API instead, or look closely at what the import scripts do first.
Or he could use the
PostCreator class from ruby code, which explains how to use it to create a topic.
yes i was looking for that only, i mean creating post but i have very little knowledge about ruby but i used discourse in my forum site. I was thinking about updating the database from php, since more familiar with php than ruby. So i will try PostCreator class.
Sorry if this is a silly question but where is that API?
There is a how to on using the API ruby gem here:
And a php library maintained by discourshosting is mentioned in one of those posts as well:
This is the part where I click and hold the heart button