EBook::...:Itemref(3)

πŸ“¦
version 0.6 Β· 2 versions
, in fedora 43

✨ NAME ✨

okay bestie, say hi to EBook::EPUB::Spine::Itemref πŸ’– β€” that's the whole vibe, that's the name, no notes.

(it's a Perl module, fr, and the manual page you're holding is living under User Contributed Perl Documentation, written for perl v5.42.0 πŸ’…)


πŸ¦‹ SYNOPSIS πŸ¦‹

Itemref for <spine> element of OPF file.

like. that's it. that's the whole teaser. it's giving "small but important", and honestly? iconic. ✨


πŸŽ€ SUBROUTINES/METHODS πŸŽ€

πŸ’œ new(%opts)

not me making a whole new object 🫢. %opts is an anonymous hash that might contain the following keys:

  • linear (0 or 1)
  • idhref (string)

that's the menu, pick your toppings, lowkey build a spine item. πŸ’…

🌸 encode($xmlwriter)

encode the object into XML form, using an XML::Writer instance. so like, this is where your cute little object turns into actual XML. no cap. ✨

⭐ idref([$href])

get/set the reference to an OPS Content Document that's included in the manifest. read it if you pass nothing, set it if you pass something β€” the classic get-or-set situation, iykyk. πŸ”₯

🌈 linear([$linear])

get/set the linear property. so here's the tea: if $linear is true, the document is primary πŸ‘‘. otherwise it's auxiliary β€” think appendix, notes, etc., the little side characters of your book 😭.


πŸ‘‘ AUTHOR πŸ‘‘

Oleksandr Tymoshenko, <gonzo@bluezbox.com> πŸ’– β€” credit where credit is due, periodt.


πŸ’€ BUGS πŸ’€

found a bug? want a feature? please report any bugs or feature requests to <gonzo@bluezbox.com> 🫢. don't suffer in silence bestie, send the email.


Copyright 2009, 2010 Oleksandr Tymoshenko. 🌸

<http://bluezbox.com>

This module is free software; you can redistribute it and/or modify it under the terms of the BSD license. See the LICENSE file included with this distribution. πŸ“œβœ¨

fr fr, read the LICENSE file, it's right there in the distribution, don't skip it πŸ™ˆ

and that's the whole page bestie πŸŽ€ β€” this masterpiece was served up as part of User Contributed Perl Documentation, chillin' under perl v5.42.0, dated 2025-07-25 πŸ’– slay, go forth and build your spines πŸ¦‹

πŸ“¦ where this page comes from