redirect – Create a permalink to a pdf?

I have a website where I want the permalink to my resume to be, so that whenever I send someone that link, it goes to the most recent version of my resume. But I don’t want my resume to be a webpage — I just want the permalink to send people to a PDF file, say This way people with the link always see the most recent version, regardless of when I sent it.

If possible, I’d also like to be able to redirect people who have the link to be redirected to, and then sent to the newest version of the file.

I’ve tried using a few plugins for this, but nothing seems to be able to generate permalinks for media files. Does anyone know how to do this?

GUI to auto-download all video links found within a PDF?

I understand there are plenty of solutions on Stackoverflow, but please bear with me as I have zero knowledge in coding.

Is there a 3ʳᵈ-party app/software/script I can use to auto and batch download all video links in a PDF?

Here’s how it looks like in the PDF:

View post on

Dummy video link here:

They are all google drive links and follow the same format.

css – Por qué que cuando genero un reporte pdf usando dompdf el ultimo registro hace un salto de linea

he estado batallado con este problema pero no encuentro solucion.

Intento generar un reporte de ventas pero siempre el ultimo registro hace un salto y aparece en la siguiente pagina:

introducir la descripción de la imagen aquí

Les dejo mi codigo fuente del reporte

<body id="page-top">
<div class="contenedor">

    <div id="general">

        <div id="div-logo">

            <img src="{{public_path('imagenes/Logo.jpg')}}" alt="Logo del cliente"  style="height: 35px;">

        <div id="div-titulo" style="height: 100%">
            <div  style="text-align: center">
                <h5 style="font-size: 16px; margin:5px">Lista de ventas</h5>
                <h6 style="font-size: 14px; margin:5px"> Reporte de ventas</h6>
                <b> Del {{$fechaInicio}} al {{$fechaFinal}}</b>

        <div id="div-fecha">
            <div  style="text-align: right">
                <br /><br /><br />
                Fecha: {{ date("Y-m-d")}}

    <table class="table table-bordered table-sm" >
            <th scope="col">No. Venta</th>
            <th scope="col">Fecha Venta</th>
            <th scope="col">Vendido por</th>
            <th scope="col">Imagen</th>
            <th scope="col">Producto</th>
            <th scope="col">Categoria</th>
            <th scope="col">Detalle</th>
            <th scope="col">Precio compra</th>
            <th scope="col">Precio venta</th>
            <th scope="col">Cantidad</th>
            <th scope="col">Importe</th>

        @foreach ($ventas as $venta)
                    <td style="text-align:center;">{{$venta->numeroVenta}}</td>
                    <td style="text-align:center;">{{$venta->fecha_venta}}</td>
                    <td style="text-align:left;">Daniela Rodriguez</td>
                    <td style="text-align:center;"><img src="{{public_path('imagenes/productos/')."".$venta->imagen}}" style='width: 25px; height:20px;' /></td>
                    <td style="text-align:left;">{{$venta->nombre}}</td>
                    <td style="text-align:center;">{{$venta->categoria}}</td>
                    <td style="text-align:center;">{{$venta->detalle}}</td>
                    <td style="text-align:right;">${{$venta->precio_compra}}</td>
                    <td style="text-align:right;">${{$venta->precio_venta}}</td>
                    <td style="text-align:center;">{{$venta->cantidad}}</td>
                    <td style="text-align:right;">${{$venta->importe}}</td>
            <td colspan="9"> </td>
            <td style="text-align:right;">$ 50,000</td>


También me he dado cuenta que si meto registros estáticos, no hace el salto de linea pero cuando meto un for de blade ahí si sucede el problema.

Tambien les dejo el codigo css:

                /*border: 1px solid red;*/
        font-size: 9px;

    #general {
        width: 100%;
        height: 130px;
        overflow: hidden;

    #div-logo , #div-titulo, #div-fecha{
        float: left;
        width: 33%;

    .table {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
        background-color: transparent;
        border-collapse: collapse;

    .table-bordered td, .table-bordered th {
        border: 1px solid #dee2e6;
        border-top-color: rgb(222, 226, 230);
        border-top-style: solid;
        border-top-width: 1px;
        border-right-color: rgb(222, 226, 230);
        border-right-style: solid;
        border-right-width: 1px;
        border-bottom-color: rgb(222, 226, 230);
        border-bottom-style: solid;
        border-bottom-width: 1px;f
        border-left-color: rgb(222, 226, 230);
        border-left-style: solid;
        border-left-width: 1px;
        border-image-source: initial;
        border-image-slice: initial;
        border-image-width: initial;
        border-image-outset: initial;
        border-image-repeat: initial;

    .table td, .table th {
        vertical-align: top;
        border-top: 1px solid #dee2e6;

    th > div, th > span, th {
        font-size: 8px;
        vertical-align: middle;
    td > div, td > span, td {
        font-size: 6px;
        vertical-align: middle;
        z-index: 99;
        background-size: cover;

También había agregado estas lineas pero no funciono

    thead { display: table-header-group }
    tfoot { display: table-row-group }
    tr { page-break-inside: avoid }

Recién acabo de meter un tr con datos estático antes de que se ejecute el for y recorra las ventas y funciono, pero aun sigo sin saber cual es el problema.

pdf – Why is the Bookmark button disabled in Apple Books?

pdf – Why is the Bookmark button disabled in Apple Books? – Ask Different

Will moving a PDF and Word Document library to a CMS negatively effect SEO on site redesign?

I’m redesigning a website built on an outdated platform, going from Asp.Net Web Forms to Gatsbyjs. The site has a PDF and Word Document library that is stored locally on the web host, so a link to a pdf would be something like:

It would be much easier, and more dynamic for my client, to store the PDF’s and documents on the Contentful cms. However, I’m concerned whether Google will look negatively on these resources no longer being located on the domain itself.

Any info on this would be appreciated.

c# – Are Flate compression in PDF and the Deflate algorthm 2 different things?

I’m trying to make a program that produces pdf files as an output. I’ve been studying the pdf format specification and specific pdf files the format of which I’m seeking to mimic. There’s this line /FlateDecode in these documents and when I searched about this compression algorthm the google results referenced a built in .Net algorithm, Deflate.

The thing is, when I try to decode the encoded text from the aforementioned files using Deflate, the C# algorithm returns nothing (I copied the binary data in a hex editor into a new file, cutting off both the starting and trailing newline (0x0A)) and the online Deflate decoders say the text is invalid (here I copied the data from a text editor, so it was text in ANSI encoding), as in not encoded by the same algorithm, leading me to believe that despite google’s best efforts it popped up a similarly named, but not identical compression method.

If this hypothesis is correct, then does anybody know if there is a publicly available, already implemented Flate encoder or do I have to write my own based on the PDF file format specifications?

If the hypothesis is incorrect and I’m just screwing up something, what am I screwing up?


Convertir a pdf en angular

Resulta que estoy trabajando en una api nest donde devuelve un documento pdf a modo de texto. ¿Existe una librería para traer ese archivo como PDF?
Para que me entiendan: esta es la respuesta de la API:

View post on

Esta es la forma como estoy trayendo el documento:

    return this.http.get(this.urlSeeDocument+id+'.pdf');

PDF a formato JSON con Document AI de Google Cloud (nodejs)

Soy nuevo utilizando las api de Google Cloud y bueno, he llegado al punto de mostrar por consola el pdf que quiero extraer. Sin embargo ahora me interesa parsearlo a formato json para poder manipularlo a mi gusto. ¿Alguien ha realizado este proceso? Estoy utilizando la API Document AI pero no encuentro nada para pasarlo a dicho formato.

Mi objetivo final es que los datos de este pdf los pueda sacar en formato json para mostrarlos en el front o almacenarlos en la bbdd con apirest. Si alguien ha trabajado con esta api en concreto me serviría de gran ayuda.

Este código está sacado del quickstart de la api document ai.

async function quickstart() {

  const name = `projects/${projectId}/locations/${location}/processors/${processorId}`;

  const fs = require('fs').promises;
  const imageFile = await fs.readFile(filePath);
  const encodedImage = Buffer.from(imageFile).toString('base64');

  const request = {
    rawDocument: {
      content: encodedImage,
      mimeType: 'application/pdf',

  const (result) = await client.processDocument(request);
  const {document} = result;

  const {text} = document;

  const getText = textAnchor => {
    if (!textAnchor.textSegments || textAnchor.textSegments.length === 0) {
      return '';

    const startIndex = textAnchor.textSegments(0).startIndex || 0;
    const endIndex = textAnchor.textSegments(0).endIndex;

    return text.substring(startIndex, endIndex);

  console.log('The document contains the following paragraphs:');
  const (page1) = document.pages;
  const {paragraphs} = page1;

  for (const paragraph of paragraphs) {
    const paragraphText = getText(paragraph.layout.textAnchor);
    console.log(`Paragraph text:n${paragraphText}`);

Why are thumbnails not being generated for PDF files?

I’m trying to figure out why one of my WordPress sites is not generating thumbnails for PDF uploads. It works on my dev and staging sites. When comparing them, the only difference that I can find is that my production site is running PHP 7.2, whereas dev and staging are running PHP 7.3. I have the imagick extension installed on all of them.

Thumbnails are being generated for image files – it’s only PDF files that aren’t working. The iMagick PHP extension should be all that’s needed, right? I’ve turned on WordPress debug logging and looked for errors there and in the Apache error logs, but have found nothing.

Any suggestions?

open graph protocol – How can you get a thumbnail when you share a PDF on Facebook

One of my clients writes cookbooks. Some time ago, he wrote an article about the origins of Boston Cream Pie, which he has on his site as a PDF on a page of links to various articles he has written.

I would like to share that PDF on Facebook, but the PDF doesn’t give Facebook any Open Graph tags, so the link is rather ugly

Is there an Open Graph implementation for PDF URLs that would give his readers a good social media link besides creating a new page with text and images that are more Open Graph friendly?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies New Proxy Lists Every Day Buy Cheap Private Proxies; Best Quality USA Private Proxies