pulling metadata w/ mysql query

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 1
Joined: Mon Aug 16, 2004 9:16 am

pulling metadata w/ mysql query

Postby dmahal » Mon Aug 16, 2004 10:02 am

I'm creating an XML generator and I've included the rst.php file for acessing the metadata. I see that rst.php includes other files that actually do the query and such, so is that the only file i need to include? I'll be looping through the query results of each record pulled from the OJS database.

Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby kevin » Tue Aug 17, 2004 11:57 pm

If you're writing a script to extract data from the OJS database, and you want to use the database connection object used in OJS, the only file you would need to include is include/common.php. Of course you can also use a different database connection library (or the mysql_* routines directly) and not rely on any of the OJS code.

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests