pull/48/head
kunfei 5 years ago
parent fbd962c07a
commit 95f6077089
  1. 2
      app/src/main/java/io/legado/app/data/entities/rule/TocRule.kt
  2. 2
      app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt
  3. 4
      app/src/main/res/values/strings.xml

@ -4,5 +4,7 @@ data class TocRule(
var chapterList: String? = null,
var chapterName: String? = null,
var chapterUrl: String? = null,
var isVip: String? = null,
var updateTime: String? = null,
var nextTocUrl: String? = null
)

@ -194,6 +194,8 @@ class BookSourceEditActivity :
add(EditEntity("chapterList", tr?.chapterList, R.string.rule_chapter_list))
add(EditEntity("chapterName", tr?.chapterName, R.string.rule_chapter_name))
add(EditEntity("chapterUrl", tr?.chapterUrl, R.string.rule_chapter_url))
add(EditEntity("isVip", tr?.isVip, R.string.rule_is_vip))
add(EditEntity("updateTime", tr?.updateTime, R.string.rule_update_time))
add(EditEntity("nextTocUrl", tr?.nextTocUrl, R.string.rule_next_toc_url))
}
//正文页

@ -380,8 +380,10 @@
<string name="rule_toc_url">目录URL规则(tocUrl)</string>
<string name="rule_next_toc_url">目录下一页规则(nextTocUrl)</string>
<string name="rule_chapter_list">目录列表规则(chapterList)</string>
<string name="rule_chapter_name">章节名称规则(ruleChapterName)</string>
<string name="rule_chapter_name">章节名称规则(ChapterName)</string>
<string name="rule_chapter_url">章节URL规则(chapterUrl)</string>
<string name="rule_is_vip">是否VIP(isVip)</string>
<string name="rule_update_time">更新时间(updateTime)</string>
<string name="rule_book_content">正文规则(content)</string>
<string name="rule_next_content">正文下一页URL规则(nextContentUrl)</string>
<string name="rule_web_js">webJs</string>

Loading…
Cancel
Save