Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions feedparser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ local function parse_entries(entries_el, format_str, base)
local author_url = (el:getChild('url') or blanky):getText()
if author_url and author_url ~= "" then entry.author_detail.href=resolve(author_url, rebase(el:getChild('url'), el_base)) end

elseif tag=='category' or tag=='dc:subject' then
elseif tag=='category' then
entry.category = (el:getChild('term') or el):getText()

elseif tag=='dc:subject' then
--todo

elseif tag=='source' then
Expand Down Expand Up @@ -366,4 +369,4 @@ if _VERSION:sub(-3) < "5.3" then
end


return feedparser
return feedparser