Comments (11)
markdown मध्ये का रुपांतर करायचे आहे? जर csvला embed करायचा पर्याय नाहीये का?
from marathi-shabd.
@shreyasg-git markdown केलं तर website चे formatting चांगलं करता येईल. नुसती csv तशी चा तशी टाकली तर चांगली नाही दिसणार असं मला वाटतं. वरून csv मध्ये खूप कच्चा डेटा असेल. तुझा कडे काही चांगली कल्पना असेल तर सुचवं .
from marathi-shabd.
prerequisites -
- have a csv file with content in en and mr columns
- have a template markdown file for the output
steps -
- read the csv file
- create a new markdown file from the template
- extract the en and mr words from a row of the csv
- fill the extracted words in the markdown file
- repeat 3-4 till all rows of csv are done
from marathi-shabd.
why markdown then? we can directly make HTML from csv, It will be easier to do because markdowns are messy
from marathi-shabd.
is it? i don't have much idea tbh. I personally find working with md easy. but if you think html is better and you can contribute for developing it then we decide for it. also converting from md to html (and vice versa) is possible and easy with pandoc i think (in case we have to try out both options).
from marathi-shabd.
If we figure out some way to convert csv to html directly using JS then that will be the best...but I think we dont have to stick to HTML tables...we can make our own components which will give us more flexibility in case of colors, styles etc
from marathi-shabd.
I was actually considering to do this using python since I have some exp with it. Also the target is to keep it extremely lightweight, basic and simple like this website.
from marathi-shabd.
How are you planning to do this with Python? I am not sure if we can run python in browser so we will have setup backend for running python ?
from marathi-shabd.
- Python will simply be used to create the markdown files from the csv raw data. (This is the crux of the coding part.)
- the static web pages (HTML pages) will then be created using a static site builder (GitHub pages uses Jekyll I think) and the previously created MD files.
- The website will then be hosted on GitHub pages.
There will be no dynamic components or any code/script that will run in the browser when the website is visited. It will be completely static like the site I showed in the previous comment.
from marathi-shabd.
sounds good 👍
from marathi-shabd.
Closing this issue as this turned into a generic discussion. Also same points mentioned in a new issue. See #14
from marathi-shabd.
Related Issues (20)
- search site - hitting "enter" key should do same as pressing the "search" button HOT 1
- Markdown Word block update HOT 3
- remove header row from csv when used for markdown file generation HOT 3
- delete the "filtered.csv" file after it is no longer necessary
- topics parser HOT 7
- remove python cache folder __pycache__ HOT 5
- topic specific md files do not contain words which have multiple tags HOT 1
- extract topics list in topics-list.md HOT 7
- each browse md file must have a its file name in its heading HOT 3
- Translate and add Marathi text to the website HOT 1
- खगोलशास्त्राचे शब्द जोडणे HOT 1
- क्रिकेटचे शब्द जोडणे HOT 2
- Create a form for users to submit NEW words HOT 3
- Update readme in all folders HOT 1
- Add Marathi text to index.MD
- Form for users to submit missing Marathi words for EXISTING English words HOT 11
- Word info graphic creator HOT 3
- संख्या
- temporary form to add missing/incorrect words
- जाहिरात पत्रकात इंस्टाग्राम खात्याचे नाव सुधारणे HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marathi-shabd.