2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-21 05:22:21 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Daniel James
b6cf324f43 Only use the boostbook values store in page class in indexes
It's a bit awkward, but to generate a page needed to update
BoostPages_Page, which wasn't always appropriate. So now generate pages
just using the data from the quickbook source, combined with the state
data.
2016-12-05 09:01:39 +00:00
Daniel James
df315c5535 Remove unused $page parameter
They can all get it from the page data if they really need it.
2016-12-05 09:01:38 +00:00
Daniel James
3818306884 Stop storing description in BoostPages_Page 2016-12-05 09:01:38 +00:00
Daniel James
895ce62b6b Fix logic for rebuilding items in rss feed 2016-12-05 09:01:37 +00:00
Daniel James
da67393b48 Only update RSS state once per feed
Was updating it every time an item was updated, this was unnecessarily
slow. Typically, only a very small number of items are updated per run,
so it shouldn't make much of a difference, but a lot faster if many
items are updated.
2016-11-14 22:53:35 +00:00
Daniel James
ebb3c47c2b Store release date
Previously was using the quickbook file's pub_date, By using the date
the release script was run on, can release without updating the
quickbook file. So the release manger won't need to have quickbook
installed. At least in theory!
2016-10-16 14:10:42 +01:00
Daniel James
eecdeb6241 Cache html generated from quickbook files
So that when changes to the release status are made, the site can be
rebuilt without using quickbook. Pretty messy.
2016-10-16 11:29:38 +01:00
Daniel James
607173fae6 Use DateTime for RSS last_modified. 2016-07-21 16:05:37 +01:00
Daniel James
1d3968a616 Use DateTime for timestamps.
Preserves timezone.
2016-07-21 16:05:35 +01:00
Daniel James
6892abb9fd Rework last_modified and pub_date.
- Both are now stored as strings.
- Unpublished articles have a null pub_date.
- last_modified is now always the last modified date,
  before it was the pub_date once published.
2016-07-21 16:05:34 +01:00
Daniel James
e40e79ee12 Stop putting pubDate=In Progress in dev RSS feed.
Should probably stop setting pubDate to 'In Progress', it's an artifact
of how the site used to work.
2016-07-05 08:49:23 +01:00
Daniel James
f9034e55a7 Remove dependencies on DOMDocument. 2016-06-02 09:04:44 +01:00
Daniel James
f160d6cc55 Autoload URL handling. 2016-05-26 00:12:07 +01:00
Daniel James
00bc1a97a5 Move RSS generation into its own class. 2016-04-10 10:08:54 +01:00