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 9 replies, 2 voices, and was last updated 3 years, 7 months ago by Szabi – CodeRevolution.
-
AuthorPosts
-
-
April 20, 2021 at 2:45 am #3045
Hi Szabi,
I am trying to import the posts from the following URL and used the same settings as you set up for me for the image galleries, but it’s not working for the model “post type”.
The URL: https://www.elitebabes.com/top-rated-babes/
Content I would like to import from the posts:
- featured image
- class: read-more
- class: read-more-wrap
- the content inside the class: read-more-trigger (has the title “show more”)
I am not sure if URL to RSS is able to import 3 different classes from the content or not. If not then # 1 and 3 would be ok.
Here are the current settings I have.
<h3>Crawling Restrictions:</h3>- <b>Maximum Link Crawling Depth: 2</b>
- <b>Do Not Scrape Start URL: checked</b>
- <b>Seed Page Crawling Query Type: XPath</b>
- <b>Seed Page Crawling Query String: //*[@class=’displayblock’]</b>
- <b>Seed Page Pagination Query Type: class</b>
- <b>Seed Page Pagination Query String: next</b>
- <b>Remember Last Paged URL: checked</b>
<h3>Content Scraping Customizations:</h3>
- <b>Content Query Type (Optional): Class</b>
- <b>Content Query String (Optional): read-more-wrap</b>
- <b>Title Query Type (Optional): Class</b>
- <b>Title Query String (Optional): fn</b>
- <b>Image Query Type (Optional): Class</b>
- <b>Image Query String (Optional): //*[@class=’img’]</b>
Thanks again for your time and help.
Kind regards,
Jason -
April 20, 2021 at 11:15 am #3046
Hello,
Please try using the settings from below:
Crawling Restrictions:
- Maximum Link Crawling Depth: 2
- Do Not Scrape Start URL: checked
- Seed Page Crawling Query Type: XPath
- Seed Page Crawling Query String: //*[@class=’gallery-a a d’]
- Seed Page Pagination Query Type: class
- Seed Page Pagination Query String: next
- Remember Last Paged URL: checked
Content Scraping Customizations:
- Content Query Type (Optional): Class
- Content Query String (Optional): module-model
- Title Query Type (Optional): Class
- Title Query String (Optional): fn
Regards,
Szabi – CodeRevolution.
-
April 21, 2021 at 3:10 pm #3051
This reply has been marked as private. -
April 21, 2021 at 3:26 pm #3053
Hello,
I checked your site and saw that you have high feed item count (over 1000). This is possible only if you increase max_execution_time in php settings. You should set this to very large values like 86400
Resource on how to change this: https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-maximum-execution-time
If you don’t know how to make this change, please contact your hosting provider’s support and ask them to change this on your server.
Let me know if this helped.
Regards.
-
April 21, 2021 at 5:28 pm #3054
Hi Szabi,
Thank you for the update. However, for rule ID:7 I have set the max# feed item to 10 for testing and it is still the error.
++++++
[21-Apr-2021 13:21:34 America/New_York] The query you defined returned no results. Please check it. Rule ID: 7
++++++I will set a higher “max_execution_time” in my php setting.
Thanks again,
Jason -
April 21, 2021 at 5:30 pm #3055
-
April 21, 2021 at 5:40 pm #3058
I checked rule ID 7 and the XPath in the ” settings field was incorrect. It contained incorrect quote characters. Please check correct ones:
//*[@class=’gallery-a a d’]
And incorrect ones (how it was in the plugin):
//*[@class=’gallery-a a d’]
-
April 21, 2021 at 5:41 pm #3059
It seems that my support forum changes quotes automatically.
Please check the ‘Seed Page Crawling Query String’ settings field for rule ID 7 for correct value.
-
April 22, 2021 at 2:19 pm #3060
Thank you Szabi!
Do you have a plugin that can add selected content to custom fields?
For example:
++++++
- <span>Born:</span>March 1997
Custom feild=born Content=March 1997
- <span>Birthplace:</span>Hungary
Custom feild=Birthplace Content=Hungary
- <span>Hair Color:</span>Brown
Custom feild=Hair Color Content=Brown
- <span>Height:</span>175 cm, 5 ft 9 in
Custom feild=Height Content=175 cm, 5 ft 9 in
- <span>Bust Size:</span>Large
Custom feild=Bust Size Content=Large
- <span>First Seen:</span>2017
Custom feild=First Seen Content=2017
++++++
Thanks,
Jason -
April 22, 2021 at 2:31 pm #3062
My plugins can already do this, please check this video for details: https://www.youtube.com/watch?v=GMIojmlI9fA
-
-
AuthorPosts
The topic ‘URL to RSS – The query you defined returned no results. Please check it.’ is closed to new replies.