0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NotebookLM にサイト全体のページを読み込む

0
Posted at

NotebookLM という指定された情報だけを使って AI が答えを返してくれる便利なサイトがあります。出所の確実な回答だけが得られて有難いのですが、複数のページに分かれているウェブサイトを読み込むのが面倒くさい。みんなどうしているんだろう。。。もしも sitemap.xml が用意されている場合(例: https://trunkbaseddevelopment.com/sitemap.xml) 簡単なワンライナーで NotebookLM に読み込ませる URL リストができるのでご紹介します。

$ curl -s https://trunkbaseddevelopment.com/sitemap.xml | sed -n 's:.*<loc>\(.*\)</loc>.*:\1:p'
https://trunkbaseddevelopment.com/
https://trunkbaseddevelopment.com/context/
https://trunkbaseddevelopment.com/5-min-overview/
https://trunkbaseddevelopment.com/deciding-factors/
https://trunkbaseddevelopment.com/vcs-features/
https://trunkbaseddevelopment.com/vcs-choices/
...

URL を色々変えて試してみてください。

そのうち NotebookLM も自分で対応するだろうから今だけ便利な知識です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?