OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

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.
dmahal
 
Posts: 1
Joined: Mon Aug 16, 2004 9:16 am

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.
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Bing [Bot] and 3 guests