Filtering by popularity

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 6 replies, 2 voices, and was last updated 2 years, 11 months ago by alex82.

Viewing 6 reply threads
  • Author
    Posts
    • #4141


      alex82
      Participant
      Post count: 4

      Good afternoon. Please tell me if it is possible to filter imported records by popularity. At least from those sources where there is a like counter. Or import the counters themselves with the number of likes? Thanks

      Attachments:
      You must be logged in to view attached files.
    • #4143


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      Hello,

      First of all, thank you for your purchase.

      Importing of content from RSS feeds based on popularity is not currently possible. This is because RSS feeds are displaying always the latest news from websites.

      If you wish to get news posts based on their popularity, I recommend you check also the Newsomatic plugin: https://1.envato.market/newsomatic

      Please check the news site sources it supports, here: https://newsomaticapi.com/sources

      Regards, Szabi – CodeRevolution.

    • #4145


      alex82
      Participant
      Post count: 4

      You don’t quite get my point. In addition to the text itself, I need to parse certain elements from the source (number of views, likes, etc. ).For example : from this line – <span class=”crayons-reaction__count” id=”reaction-number-like”>8</span> , and display it in the post. Thanks

    • #4146


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      Oh, sorry for the misunderstanding.

      Please send me the RSS feed URL and i check on this on my test site.

      Regards.

    • #4162


      alex82
      Participant
      Post count: 4

      Hello, thank you for your help.
      For example these RSS :                                                                                                                          https://dev.to/feed                                                                                                        https://levelup.gitconnected.com/feed

       

    • #4168


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      Hello,

      I checked the reaction count numbers on these sites and unfortunately they are displayed using JavaScript, because of this, the plugin cannot scrape them (using its default settings).

      However, you can try (if possible) installing Puppeteer on your server and using it together with the plugin. Puppeteer will render JavaScript generated content and it will also return the reaction count you wish to scrape.

      After installing Puppeteer, you can use the ‘Content Scraping Method To Use’ settings field from importing rule settings to select Puppeteer as a content scraping method.

      Please check this tutorial video for info on how to install puppeteer on your server: https://www.youtube.com/watch?v=KNOIJA4pTQo

      Regards, Szabi – CodeRevolution.

    • #4171


      alex82
      Participant
      Post count: 4

      Thank you very much. I will take your advice

Viewing 6 reply threads

The topic ‘Filtering by popularity’ is closed to new replies.