I am working with link syndication process.
Can anybody tell me how this is done?
I have gone through few sites which allows syndication. If you want to have their links on your website, they ask you to fill in few details (like number of links, search keyowrds etc) and then they give the code which you can include in your html file.
When you run the html file in your browser, a js file within the code gets an array of links from the server.
I want to know how this js file builds an array from the database.
Can we include database query within a js file? If so how this is done? Please tell me in detail. Thanks in advance.