Skip to content

Commit 2db5464

Browse files
authored
Merge pull request #459 from kiwix/opds_category_support
Support for book categories in OPDS feed
2 parents 02f658c + 3c1e9c9 commit 2db5464

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/wrapper/java/book.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ GETTER(jstring, getDate)
6969
GETTER(jstring, getUrl)
7070
GETTER(jstring, getName)
7171
GETTER(jstring, getFlavour)
72+
GETTER(jstring, getCategory)
7273
GETTER(jstring, getTags)
7374
GETTER(jlong, getArticleCount)
7475
GETTER(jlong, getMediaCount)

src/wrapper/java/org/kiwix/kiwixlib/Book.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class Book
2424
public native String getUrl();
2525
public native String getName();
2626
public native String getFlavour();
27+
public native String getCategory();
2728
public native String getTags();
2829
/**
2930
* Return the value associated to the tag tagName

0 commit comments

Comments
 (0)