Compare commits
2 Commits
cc2e470ffe
...
b48a464536
Author | SHA1 | Date | |
---|---|---|---|
b48a464536 | |||
ffe6670ec8 |
@ -92,7 +92,8 @@ func (f *Fetcher) StoreFrontPage() error {
|
|||||||
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
|
//f.log.Debug().Msgf("storing story with rank %d in db", (i + 1))
|
||||||
// FIXME this will grow unbounded and make the file too big if
|
// FIXME this will grow unbounded and make the file too big if
|
||||||
// I don't clean this up or otherwise limit the data in here
|
// I don't clean this up or otherwise limit the data in here
|
||||||
f.db.Create(&s)
|
// disabled for now
|
||||||
|
//f.db.Create(&s)
|
||||||
|
|
||||||
// check to see if the item was on the frontpage already or not
|
// check to see if the item was on the frontpage already or not
|
||||||
var c int
|
var c int
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
<h2>IMPORTANT</h2>
|
<h2>IMPORTANT</h2>
|
||||||
|
|
||||||
<p>This is a third-party site, not affiliated with HN, provided for
|
<p>This is a third-party site, not affiliated in any way with HN,
|
||||||
informational purposes only. <b>Do not</b> contact or hassle HN
|
provided for informational purposes only. <b>Do not</b> contact or
|
||||||
administrators about any information you learn here. Their site,
|
hassle HN administrators about any information you learn here.
|
||||||
their rules. I repeat: <b>Do not hassle or interrogate the HN admins.</b>
|
Their site, their rules. I repeat: <b>Do not hassle or interrogate
|
||||||
</p>
|
the HN admins about their front page.</b> <small>(<a
|
||||||
|
href="https://news.ycombinator.com/item?id=22643777">more
|
||||||
|
info</a>)</small> </p>
|
||||||
|
|
||||||
<h2>Why?</h2>
|
<h2>Why?</h2>
|
||||||
|
|
||||||
@ -26,7 +28,7 @@
|
|||||||
graciously provided <a href="https://github.com/HackerNews/API">HN
|
graciously provided <a href="https://github.com/HackerNews/API">HN
|
||||||
API</a>.</p>
|
API</a>.</p>
|
||||||
|
|
||||||
<h2>Who</h2>
|
<h2>Who?</h2>
|
||||||
|
|
||||||
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
|
<p><a href="mailto:sneak@sneak.berlin">@sneak</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user