Estoy creando un sistema que consume datos de las URL de fuentes RSS que proporciona el usuario y me gustaría cubrir el caso de una fuente RSS con paginación.
Estoy usando el módulo de nodo rss-parser para obtener la información de los feeds y he visto muchos con enlaces de paginación como:
paginationLinks: { self: "..." }Pero ese paginationLinks.self solo se referirá al mismo conjunto de elementos (obviamente).
¿Hay algún otro atributo para el objeto paginationLinks? si es así, ¿ paginationLinks.next me daría el conjunto de elementos que fluye y paginationLinks.previous el conjunto anterior o hay alguna otra sintaxis?
ejemplo de salida rss-parser de este feed rss :
{ items: [ { title: 'Chile: Apology for sterilizing HIV-positive women in moment of 'reproductive justice'', link: 'https://news.un.org/feed/view/en/story/2022/05/1119272', pubDate: 'Fri, 27 May 2022 16:14:39 -0400', enclosure: [Object], content: 'The head of the UN agency leading the fight against HIV/AIDS, welcomed on Friday a public apology from Chile on a landmark case of involuntary sterilization of women living with HIV.', contentSnippet: 'The head of the UN agency leading the fight against HIV/AIDS, welcomed on Friday a public apology from Chile on a landmark case of involuntary sterilization of women living with HIV.', guid: 'https://news.un.org/feed/view/en/story/2022/05/1119272', isoDate: '2022-05-27T20:14:39.000Z', itunes: {} }, . . . ], feedUrl: 'https://news.un.org/feed/subscribe/en/news/region/americas/feed/rss.xml', image: { link: 'https://news.un.org/en/', url: 'https://news.un.org/en/sites/all/themes/bootstrap_un_news/images/un-emblem-for-rss.png', title: 'UN News', width: '144', height: '144' }, paginationLinks: { self: 'https://news.un.org/feed/subscribe/en/news/region/americas/feed/rss.xml' }, title: 'UN News - Americas', description: '<p>Test</p>', generator: 'United Nations', link: 'https://news.un.org/en/', language: 'en', copyright: 'Copyright © 2022 United Nations', itunes: {} }