è¿½è¨ 2021/05/31 22:45
京都市新型コロナワクチン接種ポータルサイトå ã®ããããããååããã19æé ã«æ´æ°ããã¦ãã¦ãPDFã®é ç®ãå¢ããã¨å ±ã«å ã®Excelãã¡ã¤ã«ãå ¬éããã¦ãã¾ããï¼ï¼ç´ æ´ãããï¼ï¼ï¼ï¼ï¼
ã京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ããã®ãããããååãã®PDFã®ãã¡ã¤ã«åç£è¦ããGithub Actionsæ¢ããã®å¿ãã¦ããéç¥ãæ¥ãã®ã§è¦ã«è¡ãã¨ãPDFãæ´æ°ããã¦ãã¦æ´ã«Excelã®å ãã¡ã¤ã«ãå ¬éããã¦ãã¦ãæé«ãããï¼ï¼ï¼ï¼ï¼ãã£ã¦ãªã£ããåãã京é½å¸ï¼ï¼ããã°åºæ¥ãããï¼ï¼ pic.twitter.com/evjrpYomc6
— ãã¸ã«ã«ãã³ãããð (@pastak) 2021å¹´5æ31æ¥
è¿½è¨ 2021/05/21 09:15
ä»æã京都市新型コロナワクチン接種ポータルサイトå ã®ããããããååããã®PDFãã¡ã¤ã«ã®ä¸èº«ãå·®ãæ¿ãã£ã¦ãã¦ãå ¨ã¦ãç»ååããPDFããæååãåãè¾¼ã¾ããPDFã«å¤æ´ããã¦ãã¾ããã
ãððã京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ããã®ãããããååãã®PDFãç»ååãè¾¼ã¿ã§ç¡ããªãã¾ããï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼https://t.co/mlsUOuqsh0 pic.twitter.com/GKzbp1fJNY
— ãã¸ã«ã«ãã³ãããð (@pastak) 2021å¹´5æ21æ¥
ãã¡ã¤ã«åãã®ã¾ã¾ã«PDFãä½ãç´ããã¦ãã¦ããã¡ã¤ã«ãµã¤ãºãå°ãããªã£ã¦ãã¦åãï¼ï¼ï¼ï¼ï¼ï¼Print to PDFãããªãã¦Excelã§çæããããã«ãªã£ã¦ãã (èå¥ã®ããã«æå ã§ã¯_textã¨ä»ãã¦ã pic.twitter.com/c5LtkMoLg6
— ãã¸ã«ã«ãã³ãããð (@pastak) 2021å¹´5æ21æ¥
ã¡ããã¨ãã¡ã¤ã«ãµã¤ãºãªã©ãå°ãããªã£ã¦ãã¦ãã§ããã§ããã
ãã¨ãã京é½å¸ã®å ¬å¼PDFãæ¹åããããéããã¤ããã ã£ãã®ã§ã以ä¸ã§ç´¹ä»ãã¦ããææç©ãéããäºå®ã§ãã
è¦ç´
- 京都市新型コロナワクチン接種ポータルサイトã¨ããã¦ã§ããµã¤ãã®ãããã質åãå ¨ã¦ãç»ååããPDFã ã£ã
- å²ä¸ææªã®åºæ¥äºã ã¨æã£ãã®ã§ãå ¨ãã¼ã¸OCRãã¦æ´ãã¦HTMLåãããã®ãGithub Pagesã«ç½®ãã¾ãã
åºæ¥äºã«ã¤ãã¦
京都市新型コロナワクチン接種ポータルサイトã¨ããã¦ã§ããµã¤ããããã¾ãã京é½å¸ã§ã®æ°åã³ããã¯ã¯ãã³æ¥ç¨®ã«ã¤ãã¦åããã¦ã§ããµã¤ãã¨ãããã¨ã«ãªã£ã¦ããããã§ãã
ãã®ã¦ã§ããµã¤ããvaccines-kyoto-city.jp
ã§ããããlg.jp
ãããªãã¦.jp
ãªã®ãããã¦ã¾ããããªã®ã§ãããæè¿ã¯æ¿åºã®è«¸ã
ã§ãgo.jp
使ããªããã¿ã¼ã³ã¨ããããã®ã§ãããã«ã¤ãã¦ã¯è«¦ããã¨ãã¾ãã
æ¬é¡ã¯ãã®ã¦ã§ããµã¤ãã®ä¸ã«ãã「よくあるお問合せについて」という部分ã§ããããã®ãªã³ã¯å ãæ¼ãã¨PDFã«é£ã³ã¾ããããããPDFããããã¨æãã¨æããã§ãããããã«ãã®PDFã¯ãªãã¨å ¨é¨è¡¨ãç»åãªã®ã§ããã¼ã¸å æ¤ç´¢ãã³ãããä½ãåºæ¥ãªãã®ã§ãããããé ç®ã120å以ä¸ããã¾ãã
æååã³ãã¼ã¯ãããããã¼ã¸å æ¤ç´¢ãåºæ¥ãªãPDFã«100é ç®ä»¥ä¸ãæ²è¼ãã¦ãããã§é©åãªæ å ±ãè¦ã¤ããããã¨ã¯äº¬é½å¸ã®å½¹äººã¯ããããç®ãè¯ããã§ããããªãã https://t.co/mlsUOuqsh0
— ãã¸ã«ã«ãã³ãããð (@pastak) 2021å¹´5æ13æ¥
Print to PDFï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ pic.twitter.com/eN9R015Xqq
— ãã¸ã«ã«ãã³ãããð (@pastak) 2021å¹´5æ13æ¥
å人çã«ã¯ããããPDFã«ãããªãã¨ããæãã§ãããããã¯100ä¸æ©è²ãã¨ãã¾ãã¦ãããããéè¦ãªæ å ±ãåå¨ãããPDFãåºåããéã«æåãåãè¾¼ã¾ãªãã¨ããã®ã¯ããã¼ã¸å æ¤ç´¢ããããªãæããåã¨ãã¦ã¯è¨±ããããåºæ¥äºã§ãããã¾ãä½ãããè¡æ¿ãé å¸ãã¦ããéè¦ãªææ¸ã«ããã«ãé¢ãããã¢ã¯ã»ã·ããªãã£ã«å¯¾ããèæ ®ãæ¬ ãã¦ããã¨ããææªã®äºæ ã§ãã
èªããä½ãã§ããé½å¸ããã®ãããªææªã®æ¯ãèãããã¦ããã®ãç¡è¦ããããã«ãè¡ããªãã®ã§ãå¿åªããå¸æ°ã¨ãã¦ã京都いつでもコールãã®åãåããçªå£ããé£çµ¡ãã¾ããã
京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ã( https://vaccines-kyoto-city.jp/)ãããªã³ã¯ããã¦ããããããããååãããã¾ã¨ãããã®ã®ãªã³ã¯å ã®PDFã«ã¤ãã¦ã§ãã
ãã¡ãã®ãã¡ã¤ã«ã¯Microsoftã®Print to PDFã§ä½æããã¦ããããã§ãã¨ã¯ã»ã«ããå¤æãããã®ã ã¨æ¨æ¸¬ãã¦ãã¾ãããç¾ç¶ã®PDFã§ã¯è¡¨ã®ä¸èº«ãå ¨ã¦ç»ååããã¦ãããä¾ãã°ãæ¥ç¨®å¸ãã«ã¤ãã¦ç¥ãããå ´åã«ãç®è¦ã§ãæ¥ç¨®å¸ãã«ã¤ãã¦çºè¦ããå¿ è¦ãããã¾ãã
PDFã¯é©åã«ä½æããã°ãæååãåãè¾¼ããã¯ãã§ãæååãåãè¾¼ã¾ãã¦ããå ´åãPDFãã¥ã¼ã¯ã¼ã®ãã¼ã¸å æ¤ç´¢ãªã©ã®æ©è½ã§ãã¼ã¯ã¼ãããçºè¦åºæ¥ã¾ãããã¾ãé»è©±çªå·ãªã©ã®ã³ãã¼ãå¯è½ã«ãªãã¾ãã
ç¾å¨ããã®PDFã«ã¯120é ç®ãè¶ ããQ&Aãè¼ã£ã¦ãã¾ãããèªèº«ã®æ±ãã¦ããæ å ±ã«ã¢ã¯ã»ã¹ããããã«120é ç®ãç®ã§è¦ãå¿ è¦ãããã®ã¯å¤§å¤ãããã¨æãã¾ãã京é½å¸æ°ã¯å ¨å¡ãã®PDFãç®ã§120é ç®ç¢ºèªãã¦é©åãªé ç®ãçºè¦ã§ãããããªè¦åã¨èªè§£åããæã¡ã¨ãèããªã®ã§ããããã
ã¾ããç¾ç¶ã§ã¯ã¢ã¯ã»ã·ããªãã£çãªè¦³ç¹ãããè¦è¦ã«åé¡ãæ±ãã¦ããå ´åãä¸åãã®PDFããæ å ±ãå¾ããã¨ãåºæ¥ãªããã¨ãæå³ãã¦ããã¨æãã¾ãã
ãã¡ãã¯å ã®ã¨ã¯ã»ã«ãã¡ã¤ã«ãåå¨ãããªãã°ãã¨ã¯ã»ã«ã®ååãä»ãã¦ä¿åãã¨ã¯ã¹ãã¼ããªã©ããPDFãé¸æãããã¨ã§æååãåãè¾¼ã¾ãã¦ããPDFãä½æã§ãã¾ãã®ã§ãæ¯éå·®ãæ¿ããæ¤è¨ãããã°ã¨æãã¾ãã
æ¯éã¨ãæ å½ã®æ¹ã«ãä¼ãããã ãæ¤è¨ããããããããããã¾ãã
京é½å¸ã®åãåããã£ã½ãã¨ããã«ä¸å¯§ã«ã¨ã¯ã»ã«ã§PDFãçæããæ¹æ³ãè¨è¿°ãã¦ãã京é½å¸æ°ã¯å ¨å¡ãã®PDFãç®ã§ï¼ï¼ï¼é ç®ç¢ºèªãã¦é©åãªé ç®ãçºè¦ã§ãããããªè¦åã¨èªè§£åããæã¡ã¨ãèããªã®ã§ãããããã¨æ·»ãã¦ããã¾ãã
— ãã¸ã«ã«ãã³ãããð (@pastak) 2021å¹´5æ13æ¥
ã¨ããæç´ãéã£ãã®ã§ããã京é½å¸ãä»ã¯ã³ããç¦ã§å¤§å¤ãªä¸ããã£ããã¯ã¯ãã³æ¥ç¨®ã®æºåããã¦ãã¦ãã¨ã¯ã»ã«ãæä½ãPDFãçæããã¢ãããã¼ãããæãããããããç¡ãã®ãããããªãã¨æã£ãã®ã§ãPDFãå ¨ãã¼ã¸OCRã§èªèããã¦ããããã¦ã§ããã¼ã¸ã«ãã¦åæã«å ¬éãããã¨ã«ãã¾ããã
PDFãAutomator.appã§å
¨é¨ç»åã«ãã¦ããããGyazoã«ã¢ãããã¼ãããã¨ãGyazoãè£ã§Cloud Visionã«æãã¦ããã¦OCRãã¦ãããã®ã§ããã®çµæããããã£ã¨éãã¦ãã¦ãããã¹ããã¡ã¤ã«ã«ããããã§ãOCRã§ããã®ã¾ã¾èªãããã®ã§ã¯ãªãã®ã§ãPDFã¨è¦æ¯ã¹ãªãã2æéå¼±ã»ã©ããã¦æ´å½¢ãã¦ã create-react-appã§ã¬ã³ããªã³ã°ä½ã£ã¦ (create-react-appã§ä½ã£ããã®ãNext.jsã§HTMLãexportããå½¢ã«å¤ãã¾ããã詳ããã¯è¿½è¨ãåç
§ãã¦ãã ãã)ãGithub Pagesã«Github Actionsã§ç½®ãã¨ããã®ãä½ãã¾ããã
誤åè±åããã£ããPull RequestãIssueãTwitterã®ã¡ã³ã·ã§ã³ãªã©ã§ãç¥ãããã ããã
京é½å¸ã®é¢ä¿è ã®æ¹ã¸
ã京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ããã®PDFãæååãè¾¼ã¿ã«ãªãã°ããã®ã¦ã§ããã¼ã¸ã¯éããäºå®ã§ãããã®ä»ãé£çµ¡ãªã©ããã¾ãããã [email protected]
ã¾ã§ãé£çµ¡ãã ããããããããããããã¾ãã
追è¨ã»ã¢ãããã¼ããªã©
ã京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ããã®ãããããååããHTMLåãã¾ãã - ã±ãããæ¥è¨ç´ æ´ããããã©ããã£ã±ãå¥èªç¹ãåè§ã«ã³ãã«ãªã£ã¦ãã®èªã¿ã¥ãããããã¯ç½®æãã¦ãè¯ãã£ãã®ã§ã¯ã
2021/05/14 12:27
OCRçµæã ,
ã«ãªã£ã¦ããã®è¥å¹²æ°ã«ãªã£ã¦ãããã©ã id:kamm ããããããã³ã¡ã§ææããã£ãã®ã§å
¨é¨ç½®ãæãã¾ããã
id:t_f_m ããã«ãã£ã¦é»è©±çªå·ããªã³ã¯ã«ãªãã¾ããããããã¨ããããã¾ãï¼ï¼ï¼ï¼
ãã®ä»ã«ãOCRã®ä¿®æ£ãªã©ãªã©Pull Requesté ãã¦ãã¾ãããããã¨ããããã¾ãï¼
ã京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ããã®ãããããååããHTMLåãã¾ãã - ã±ãããæ¥è¨htmlåã«ã¤ãã¦åãããªãã£ãããããã¹ãã¨ãã£ã¿ã§å°éã«ã¤ãã£ãã®ã ãããï¼ã¨ã¯ã»ã«ãä¸æãªã¨ãã£ã¿ã§ä½ãã¨ä½è¨ãªæ å ±ãçãããã¦è¡¨ç¤ºã«æéããããããã«ãªã£ãããããã©ã
2021/05/14 19:38
id:hazeyoshida 詳細ã¯Githubã«ã³ã¼ããç½®ãã¦ããã®ã§è¦ã¦ãããã°ã¨æããã§ãããこういう形で質問と回答のデータを作ってãããã変換して表示しています âä»çµã¿ãNext.jsã§æ¸ãç´ããã®ã§ãHTMLã®çæã¯Next.jsã«ä»»ããããã«ãªãã¾ããã
権å©ã«ã¤ãã¦
ãã³ã¡ãªã©ã§ã話é¡ã«ä¸ãã£ã¦ã¾ãããèä½æ¨©ãªã©ã«ã¤ãã¦ã¯ãµã¤ãããªã·ã¼ã§ã¯äºæ¬¡å©ç¨ã®ç¦æ¢ãæ¸ããã¦ãã¾ãããæ°ã«ããªãããããæ©ã京é½å¸ããé£çµ¡ãæ¥ã¦ä¸è¦ã«ãªã£ã¦éãããã¨ããã¹ã¿ã³ã¹ã§ããèä½æ¨©æ³ç¬¬åä¸æ¡ããåé¡ã¯ãªãã®ã§ã¯ãªããã¨ããè¦è¾¼ã¿ããã¦ãã¾ãããå°é家ã§ã¯ãªãã®ã§ãå°é家ã®æ¹å± ãããã£ããæãã¦ä¸ããã
æ´æ°è¿½éã«ã¤ãã¦
ã京é½å¸æ°åã³ããã¯ã¯ãã³æ¥ç¨®ãã¼ã¿ã«ãµã¤ããã®ãããããååããHTMLåãã¾ãã - ã±ãããæ¥è¨å ã®æ å ±ãæ´æ°ãããã¨ãã«åæ ãããã®ã ãããã
2021/05/14 21:39
id:yamada_k å ã®æ å ±ã®æ´æ°ããããã¨ãã«æ°ä»ããããã«å®æçã«å ã®ã¦ã§ããã¼ã¸ https://vaccines-kyoto-city.jp/ å ã®ããããåãåãæ¬ã®ãªã³ã¯ãæ´æ°ããããã©ããããã§ãã¯ãããã¦ãå¤æ´ããã£ãå ´åã¯Slackã§åã«éç¥ããä»çµã¿ãåããã¦ãã¾ãã
vaccines-kyoto-city-faq/check-updates.yml at master · pastak/vaccines-kyoto-city-faq · GitHub
ããã§æ´æ°èªä½ã¯æ°ä»ããããã«ãªã£ã¦ãã¾ããã¾ããæ´æ°ãããã¨ãã«ã¤ãã¦ã§ãããããããåãåããHTMLã«ãªã£ã¦ããããPDFã«æååãåãè¾¼ã¾ãã¦ããå½¢å¼ã«æ¹åããã¦ããå ´åã¯ä»åä½æããã¦ã§ããã¼ã¸ã¯ãã£ã½ã©ã®ãã¨ããªãéãã¯ã¯ãã¼ãºããäºå®ã§ããæ´æ°ããã£ãæã«PDFãä»ã®å½¢å¼ã®ã¾ã¾è¿½å ãããå ´åã¯é å¼µã£ã¦æ´æ°ããäºå®ã§ãããåå°½ãã¦ãããã ã£ããæ¯éPull Requestãªã©ã§æ´æ°ãæä¼ã£ã¦ããã ããã°ã¨æãã¾ãã
ã¡ãªã¿ã«ä»æ¥ https://vaccines-kyoto-city.jp/ ã®CSSãã³ã³ããªã¯ã解æ¶å¤±æãã¦ããã¨ãã話ãããã¾ããã
京é½å¸ã®ã¯ã¯ãã³ã®ãµã¤ãããªãããã¼ã¸ãã¹ã£ã¦ãã pic.twitter.com/s6jySDTH3N
— mctk (@mactkg) 2021å¹´5æ14æ¥
ãããè¦ã¦ãã¸ããã¨æã£ã¦ããã¨ãCSSå ã«FAQã£ã½ãã¯ã©ã¹ï¼æªä½¿ç¨ï¼ãè¦ã¤ããã®ã§ããããããã¨HTMLå´ã«æ¥ãã®ã§ã¯ã¨ããæ°é ããã¦ãã¾ãããã©ããªãã®ã§ããããã楽ãã¿ã§ããã
HTMLã®çæãNext.jsã«å¤ãã¾ãã
ã¯ã©ã¤ã¢ã³ããµã¤ãã§ãã¼ã¹ãã¦çæããå¿ è¦ãªãããªã¨æã£ã¦ããã®ã§ãä¸å¿µçºèµ·ãã¦ãã£ãã¨Next.jsã«ç½®ãæãã¾ããã
Next.jsã®ããã¥ã¡ã³ãã«create-react-appããã®ç§»è¡ã®ãã¼ã¸ããã£ãã®ã§ãµã¯ãã¨åºæ¥ãããªã«ãã«åãã¦ã¡ããã¨Next.js触ã£ãã®ã§è¯ãæ©ä¼ã«ãªãã¾ããã
æ§é åãã¼ã¿ãä»ä¸ãã¦ããã¾ãã