Skip to content

parseTitleCell ​

Import from: @xbbg/xnews, @xbbg/xnews/parsers

parseTitleCell(cell): TitleCell

Defined in: src/sources/libgen.ts (declaration: sources/libgen.d.ts:187)

Splits a title cell into title, ISBNs, edition, and series.

The cell mixes all four: one anchor carries the title, a sibling anchor may link the series (its href selects the series column), and loose text carries an edition marker and a comma-separated ISBN list. The Python wrappers discard the ISBNs, which is exactly the join key the works lane needs, so they are extracted here and checksum-validated — a nine-digit catalog id or a page range reads as an ISBN-10 otherwise.

Parameters ​

cell ​

string

Returns ​

TitleCell

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.