mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
load catpage header from html database and merge catpage data; also, load catpage async
This commit is contained in:
@@ -54,7 +54,7 @@ public class Xoctg_catpage_mgr implements Gfo_invk {
|
||||
}
|
||||
return ctg;
|
||||
}
|
||||
public void Write_catpage(Bry_bfr bfr, Xoa_page page, Xoh_wtr_ctx hctx) {
|
||||
public void Write_catpage(Bry_bfr bfr, Xoa_page page) {
|
||||
try {
|
||||
// get catpage_url
|
||||
Xoctg_catpage_url catpage_url = Xoctg_catpage_url_parser.Parse(page.Url());
|
||||
|
||||
@@ -24,7 +24,7 @@ class Xoctg_fmt_itm_subc extends Xoctg_fmt_itm_base {
|
||||
private final Bry_bfr tmp_bfr = Bry_bfr_.New();
|
||||
@Override public void Bld_html(Bry_bfr bfr, Xow_wiki wiki, Xou_history_mgr history_mgr, Xoh_href_parser href_parser, Xoctg_catpage_itm itm, Xoa_ttl ttl) {
|
||||
if (ttl == Xoa_ttl.Null) {
|
||||
Fmt__missing.Bld_many(bfr, itm.Page_id(), itm.Sortkey_handle());
|
||||
Fmt__missing.Bld_many(bfr, itm.Page_id());
|
||||
return;
|
||||
}
|
||||
byte[] itm_href = wiki.Html__href_wtr().Build_to_bry(wiki, ttl);
|
||||
|
||||
Reference in New Issue
Block a user