Hey Guys,
I want to have a block on my site that allows for the searching of specific words and thier definition. Really error codes.
What module would you recommend (that is still being supported) that will query specific categories or words.
example:
Search [__Error 1___] [ALL] <-dropdown* Selected
[Computer]<-dropdown
[Phone]<-dropdown
The result would be for all
Category: Computer
Error 1 = There is a loose nut behind the keyboard
Category: Phone
Code Error 1 = Please insert 25 cents to make a call
I have a massive database that will have to be hand inserted 25K words + Definitions so I want to have something that works with future version of Postnuke or that still has some active community. Also it should have it's own search block so it doesn't search postnuke but Postnuke search block should all you to search it too.
I have module"database" installed but I don't think there is any support for it.
What do you guys recommend?
Thanks for any suggestions.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Best Database/Dictionary/Encyla....mod..???
-
- Rank: Expert
- Registered: Mar 11, 2003
- Last visit: Oct 21, 2009
- Posts: 1104
Mark West is working on an update of the old encyclopedia module called pn_Glossary. You might want to check that out.
As for hand entering 25k rows of data...why?
If you have it organized, you can map it to any database.
Slugger -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 752
Hey SLugger, it in a PDF right now and I don't know of a way to get it into something useable.
I guess I could copy and paste from the pdf to a text file but then I still wouldn't know how to make it into something a database could read. -
- Rank: Expert
- Registered: Mar 11, 2003
- Last visit: Oct 21, 2009
- Posts: 1104
Oops...sorry for not answering. Should have subscribed to this thread.
edfel, what I mean by mapping is taking a data field in one database, lets say name, and setting it to import to another field in another database, lets say nom. Or, you could have field 2 in one database import to field 7 in another. In other words, you're "mapping" where the data will end up.
rixride, is the pdf locked? It's easier to do if it's unlocked.
It's also easier to explain if I know what you are starting with and what you want to do with it but lets look at how you can do it with tools you probably have at hand.
Yes, you can copy from the pdf and paste into a text file for manipulation. If there is little to do, you may be able to complete all manipulation from within the textfile or maybe you'll just get it to the point that you can put it into an Excel spreadsheet where you can use the text functions to do even more.
My company has more sophisticated ways of doing this but every now and then we'll use Excel because it's so easy. But I must give you fair warning. Excel will only handle something around 65 thousand rows of data. Second, you must take care not to let Excel reformat your data which can be bad news if you're working with zip codes, license numbers, etc.
From whatever format you start with, you'll reformat it into a delimited file for import into your database. For example:
Let's say your pdf is set up as a normal address book. You'll be starting with
Bob Smith
1234 Any Street
Anytown, Anystate 12345
(123) 456-7890
bobsmith@notsowell.com
www.notsowell.com
or even better,
Name: Bob Smith
Street: 1234 Any Street
City: Anytown
State: Anystate
Zip: 12345
Email: bobsmith@xyzfoobar.com
website: www.xyzfoobar.com
You're going to want to reformat it to
"Bob Smith","1234 Any Street","Anytown, Anystate 12345","bobsmith@xyzfoobar.com","www.xyzfoobar.com"
Your starting from a situation where a group of lines equals a record and each line represents one (or more) field(s).
You'll need to change that to where each line will represent one record and each delimited item will be data for a field. If it has an empty field (ie no email address) it will look like this
"Bob Smith","1234 Any Street","Anytown, Anystate 12345","","www.xyzfoobar.com"
To do this, use logic. Depending upon what you're starting with, it might be very simple to do with a search and replace such as Name: marks the begininning of the first field (replace with ") and Street: marks the end of the first field and the beginning of the second field (replace with ",") and so on.
Or, it may take several steps to get to this
"Bob","Smith","1234 Any Street","Anytown","Anystate","12345","bobsmith@xyzfoobar.com","www.xyzfoobar.com"
For example, using the space in the name field of the first iteration to mark the end of the first name and the start of the last name and the comma in the city state zip field of the first iteration to mark the beginning of the state to mark the end of the city field and the start of the state field which (if abbreviated) is equal to two characters before marking the start of the zip field which may be 5 digits (US) and/or 7 mixed characters (Canada) and/or 10 digits (US Zip Plus 4) etc.
If you want to post some examples of what you're starting with I might be able to give you a more specific plan.
Slugger -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Dec 15, 2005
- Posts: 3
There is an Encyclopedia module available. Encyclopedia 1.0.71x will allow you to build volumes and then add all kinds of additional information. For some reason the image upload feature doesn't work...but everything else seems to operate as advertised.
PN_Glossary module also supports a search function. It also works well, but orders entries based on ID, not alphabeticaly. :(
JBS -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 752
Hey I was wondering, I think the Knowledge Base Module in Pagesetter make work for this. I just wonder if I can get a block for searching only that publication?
What I am trying to do is make a quick searchable way to find error messages specific to something I am working on.
There are many category of error messages like
Error
BSD
HELP
Etc each category has up to 1000 error definitions.
So i..e
Error
err0001- You have an error
err0002- You have a bigger error
err0004- You have a loose nut behind the keyboard, please remove your nuts and.....
etc... So I think I can replicate this in Pagesetter knowledge base but I want to make sure I can have a quick access search block to it from my homepage.
See example: http://postnuke.pbxinfo.com/
Anyone have an idea if this can be done?
- Moderated by:
- Support
