NFO File Creator for PDF Format

Solved
OctopusVII Posted messages 10 Status Member -  
zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   -
Hello everyone,

Is there an NFO file creator supporting eBook formats for Linux?

Thank you in advance.
IV

Configuration: Linux / Firefox 47.0

2 answers

  1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
     
    Hi,

    By definition, an NFO file is a simple text file. So any text editor should do the trick, right?

    --
    _______________________________ ☯ Zen my nuggets ☮ ______________________________
    Do a favor for the environment, close your windows and adopt a penguin… 🐧
    0
    1. OctopusVII Posted messages 10 Status Member 1
       
      Certainly, but if I’m not mistaken, a NFO file creator is supposed to gather information and write it into a text file according to a standardized layout, right?
      0
    2. OctopusVII Posted messages 10 Status Member 1
       
      There is the software MediaInfo that does this with video and audio files, I was looking for an equivalent for PDF files.
      0
      1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > OctopusVII Posted messages 10 Status Member
         
        If I refer to the description of the mediainfo package under GNU/Linux:
        Description: command-line utility for reading information from audio/video files

        MediaInfo is a tool used to retrieve technical information and other metadata about audio or video files.

        A non-exhaustive list of information that MediaInfo can retrieve about media files:
        • Global: title, author, director, album, track number, date, duration, etc... * Video: codec, aspect, frames per second, bitrate, etc... * Audio: codec, sampling rate, channels, language, bitrate, etc... * Text: subtitle language * Chapters: number of chapters, list of chapters

      2. The information is recorded in the format of the file in question.

        It should be noted that a PDF (or epub) file must contain said information; -\
0
  • OctopusVII Posted messages 10 Status Member 1 > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
     
    Cool Creator NFO does it with ePubs, but it runs on Windows. So I thought that... But indeed, maybe the PDF format doesn't contain this kind of information... Well, thanks for your answer, I'll manage with a text editor then.

    Have a good evening.
    0
  • ryko1820 Posted messages 1633 Registration date   Status Member Last intervention   310
     
    Hello,

    just to clarify that eventually under linux pdfinfo gives a lot of info ;-) about pdf files,

    Example without touching the options:

    pdfinfo UPnP_Programming_Guide.pdf 

    Creator: TeX
    Producer: pdfTeX-1.10b
    CreationDate: Tue Jul 4 16:58:00 2006
    Tagged: no
    UserProperties: no
    Suspects: no
    Form: none
    JavaScript: no
    Pages: 102
    Encrypted: no
    Page size: 595.276 x 841.89 pts (A4)
    Page rot: 0
    File size: 371203 bytes
    Optimized: no
    PDF version: 1.4


    Also to remind that many ebook formats (besides PDF), like epub, cbr, cbz, and others, are nothing more than bundles of files (jpg or html for example) compressed, sometimes organized with indexes, css, etc ... easily convertible from one format to another and to PDF in script, with a plethora of open source tools ...

    --
    - Make me a sandwich. 
    - What? Make it yourself.
    - Sudo make me a sandwich.
    - Okay
    0
    1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      Hello,

      I also thought about pdfinfo, but as mentioned above, the information needs to be provided in order to extract something useful ;-\

      By the way, pdfinfo is part of the poppler-utils package.

      Description: PDF utilities (based on Poppler)
      Poppler is a PDF rendering library based on the Xpdf PDF viewer.

      This package contains command-line utilities (based on Poppler) to obtain information about PDF documents, convert them to other formats, or manipulate them:
      - pdfdetach - list or extract embedded files (attachments)
      - pdffonts - font analyzer
      - pdfimages - image extractor
      - pdfinfo - document information
      - pdfseparate - page extraction tool
      - pdftocairo - PDF to PNG/JPEG/PDF/PS/EPS/SVG converter using Cairo
      - pdftohtml - PDF to HTML format converter
      - pdftoppm - PDF image converter to PPM/PNG/JPEG formats
      - pdftops - PDF to PostScript (PS) format converter
      - pdftotext - text extraction
      - pdfunite - tool for merging documents
      Website: https://poppler.freedesktop.org/
      0