No problem. I am very new to Joomla development - so, it will be a while before I understand how I can use existing core classes. I will keep you updated.
Here are some of the wish list for the next major release: * Batch Operations: Uploading multiple files I recently had this problem - I was trying to add big list of references - I was limited by php execution time of a script & no access to change the same in php.ini file. So, I had to break the big list into smaller pieces and add one by one. Uploading multiple files might make things a lot easier.
*Support for Other input formats like xml or ris. Though bibtex is one of the popular formats - there are many other formats which are even more popular like xml. Support for those will be nice. This can be done two ways: a) With Existing Solution: Use tools like bibutils to convert xml -> bibtex and reuse the existing code to parse and add it to database. b) New Solution: Native Support for xml & ris - although this might require parsing and validating....which can be a big pain. I was able to get an xml converted to bibtex and add it to the database using first option with very little work - clearly defined & modular bibtex component code helped me a lot :-)
*Support for different types of users: Currently, there is an option that lets you choose whether an user can edit or not. On top of that, can there be a category of joomla users who can do what operations? Joomla already has different type of users - it can follow that.
I am willing to work on some of these ones - if Mark intends to do it. Let me know. Thanks.
For the 2 files that had problems - they never got added to the database. When I asked BibTex component to load the file, parse it and add it to the database -> nothing happened. I just got redirected to admin control panel main page after a while. It didn't print any errors also. No new entries got added.
I tested on another server - where I had a full control. I increased execution time on php.ini file, keep alive timeouts on apache server and firefox browser - didn't work. :-(
The following solution worked to a good extent: I broke down the references into sets of 500 each -> uploaded them to the server -> on administrator/components/com_jombib/jombib.php -> line 542 - where you check if input type is a file. In that block, I commented out $filename and $origfilename statements and passed in absolute path of the filename I wanted to get added to $bibtex->loadFile. That seemed to do the trick.
I was able to do this trick for most of the references. There was 2 files - that didn't get added at all -> took at long time for the browser to go to next page -> and when it did, it went to Joomla administrator main page. I can send you the same files to your email account - if you want to replicate the errors and test it.
MAX_FILE_SIZE: Figured that out....didn't catch my eyes earlier...:-)
I am trying to import a huge set of references into Joomla Bibtex - have around 19000 items. I was able to get only 6300 items imported. Others, it wouln't import at all. Is there a limitation on how many entries can be present in the database? How can I remove it?
Also, if it helps - I broke down 19000 items into small parts - each part - 500 items.
Also, how can I increase upload filesize? I believe - it is currently set to 1M.
Thanks, Karthik
UPDATE: Wehn I add by bibtex string, I don't get the above problem - But, I get "Maximum execution time of 30 seconds exceeded in ..." For a small set, entries does get added.
These are my additional suggestions * Moderation of submitted items for approval before publishing: A user submits an publication. Moderator is informed by email and approves/rejects the item. If approval, it is published. Any idea how hard this is to do? If you can give me tips to do this, I can try adding this feature and publish the code. * Display selection: can choose what fields are visible.