Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8626695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:05:48+00:00 2026-06-12T08:05:48+00:00

I am sitting on a CSV file containing around 3000 terms and definitions relating

  • 0

I am sitting on a CSV file containing around 3000 terms and definitions relating to a medical speciality. I’d like to provide the info online, in the form of a glossary.

It needs to have the following features:

  • Display all terms as a list, with the definitions being presented when the term is clicked on.
  • The ability to search for a given term – the search should return not only terms that match the name, but also definitions that contain the search term.
  • The ability to link from one definition to another, i.e. if a definition contains another term word, I want the user to be able to click the word and be linked to the definition for that word. I have already prepared links in my CSV file by bounding all linkable words in definitions with [square brackets].
  • Free to create. I intend on making this an open resource so don’t want to have to pay for the privilege.
  • This is a medical dictionary, and not a Wiki. Only I should be able to edit it.
  • Definitions are short and sweet – there are no pictures, and definitions rarely exceed 20 words.

A few years ago, this question was asked on SO. I’ve also come across this, but all the terms have to be input individually (rather than just being able to import a CSV file). I wonder if there are any new developments people are aware of, or something that might suits my needs a little better..?

I could do this from scratch, but it would be nice if there was already some open code which I could use. Failing that, a few pointers to get me started would be welcome. I’m willing to learn and use any language to implement this if I can’t get a solution off-the-shelf.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:05:49+00:00Added an answer on June 12, 2026 at 8:05 am

    Personally I would hand code some JavaScript that takes in the csv data and transforms it into jQuery Mobile enhanced HTML. What I mean by that is producing a regular <ul>-list and let jQM transform it into a filterable list view like this. The list view items themselves could be collapsibles, so you can achieve the “click to show description” behaviour.

    The links are slightly more tricky; you could attach (during the csv parsing process) a simple click handler that opens the desired description. Alternatively you could replace the filter field with the link text, though that can produce multiple results.

    jQuery Mobile has the advantage that it should work very nicely on mobile devices too. However, if you for some reason don’t like it but think rolling out your own client-side JavaScript solution could be a good option, jQuery UI also has useful widgets, e.g. autocomplete and accordion.

    EDIT: Here’s a quick demo of parsing csv data and producing a pretty filterable list out of it using jQM in about 15 lines of code: http://jsfiddle.net/gssMm/

    EDIT2: A revised version of the demo with 3003 items to give you an idea of the performance: http://jsfiddle.net/gssMm/1/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been sitting on this idea for quite a long time and would like
I am trying to import CSV file to SQL server database, with no success.
i am opening a csv file: def get_file(start_file): #opens original file, reads it to
I have a Excel .CSV file I'm attempting to read in with DictReader. All
I'm converting some csv data to a file format that expects values a certain
I have an CSV file with city names stored, some of these city name
I'm using a technique from another Stack Overflow question to write a CSV file
I have a file that is really in csv format but is being handed
I generate a *.csv file with PHP and it works great. The problem is,
I'm working on a college project to allow a user select a csv file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.