![]() ![]() |
Sep 11 2013, 11:30 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 12 Joined: 9-September 13 Member No.: 1,821 |
I think I have set up Scraper correctly according to the documentation. Here is an example: The link of the remote article The part of the source which is of interest is this: CODE <div class="postphoto"> <img class="enlargeImg" src="http://air.news.gr/cov/63/6352_MARIANTA_PIERIDI_29082013_b2.jpg" width="460" alt="Πέντε πράγματα που δεν ξέρετε για την Μαριάντα Πιερίδη" /><span class="enlarge close"></span> </div> <div class="posttext"> <p>Η Μαριάντα Πιερίδη κατά καιρούς αποκαλύπτει διάφορα πράγματα για τον εαυτό της.</p><p>Ωστόσο, υπάρχουν και κάποια άλλα που δεν είναι και τόσο γνωστά στο ευρύ κοινό.</p><p>Η τραγουδίστρια εκνευρίζεται με την ατάκα «να 'σαι καλά» και όταν την αγγίζουν στην πλάτη.</p><p>Οι παιδικοί της ήρωες ήταν οι Thundercats και για φτιάξει την διάθεσή της περπατάει μέχρι τελικής πτώσης.</p><p>Τέλος, της αρέσει να συλλέγει φλιτζάνια από όλο τον κόσμο, ενώ ο τυχερός της αριθμός είναι το 13, όπως αναφέρει το περιοδικό ΕΓΩ.</p> </div> <div class="likesponsor"> I used for starting tag the <div class="postphoto"> For ending tag, I used the <div class="likesponsor"> because, -although it is not relevant to the content and I don't want to import it- it's unique and I don't think would work since there are a hundred </div> tags later on. I even added the <div> tag in the allowed HTML tags. What am I making wrong? PS: I am using the K2 plugin This post has been edited by mkrokos: Sep 11 2013, 11:32 AM |
|
|
|
Sep 11 2013, 12:18 PM
Post
#2
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
The How To Configure Scraper guide.
Some important things inside guide: 1. The tag must be unique - must be in html code only once! 2. Can be some string like non-closed html tag, like this: Код <div id="pageLinks If you want, you can configure scraper to search for 2 or more strings. Use this format for example: Код <div id="pageLinks|div id="other string|div id= string 3 In this way, if scraper not find first string, will search for string 2 and so.... -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
Sep 11 2013, 01:41 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 12 Joined: 9-September 13 Member No.: 1,821 |
The How To Configure Scraper guide. Some important things inside guide: 1. The tag must be unique - must be in html code only once! 2. Can be some string like non-closed html tag, like this: Код <div id="pageLinks If you want, you can configure scraper to search for 2 or more strings. Use this format for example: Код <div id="pageLinks|div id="other string|div id= string 3 In this way, if scraper not find first string, will search for string 2 and so.... I changed the string by removing the ending characters "> but still no cigar I made sure that both of these tags are unique throughout the page source. Can you give this a try and let me know if it works for you? The feed is this: http://www.news.gr/rss.ashx?catid=15 |
|
|
|
Sep 11 2013, 02:55 PM
Post
#4
|
|
|
Newbie ![]() Group: Members Posts: 12 Joined: 9-September 13 Member No.: 1,821 |
OK, I changed the feed and now it worked OK. Still trying to figure out how to insert the correct article image in the K2 image field.
Also, trying to figure out how to resize images to fit properly in my website template. |
|
|
|
Sep 11 2013, 05:51 PM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 12 Joined: 9-September 13 Member No.: 1,821 |
Two things I need your help with...
Please, help me out since it seems that documentation is rather limited to cover all posibilities. |
|
|
|
Sep 12 2013, 06:31 AM
Post
#6
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
Цитат Please, help me out since it seems that documentation is rather limited to cover all posibilities. Yes, is hard to define in details more than 205 functions inside only one component. Joomla Scraper is one real swiss army knife 1. If content and picture are not "all together" in one container, you must grab all content - from start to end. (Start will be picture or content - this one what is first in html code, from where you want to grab content). If you need to strip something inside this content, you can configure it in field "strip content between tags" ![]() 2. About introtext. In Scraper documentation is written: Цитат Attention: "Split introtext: After N chars" function work well only with clear text! This is because "After N chars" function can't recognize is content in some container (there can be inside many levels of html tags into each other), in what container and to close all tags automatically. So, is better to use other options for Split introtext. 3. About pictures in K2: Resize images function is inside K2, not inside Joomla Scraper. You can configure sizes from K2. -------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
Sep 12 2013, 07:48 AM
Post
#7
|
|
|
Newbie ![]() Group: Members Posts: 12 Joined: 9-September 13 Member No.: 1,821 |
Yes, it's true that it has a sh*tloadd of functions that they are not documented at all. For example, the Content SEO and more. It would be nice to have a full guide.
Thanks! |
|
|
|
Oct 28 2013, 10:22 AM
Post
#8
|
|
|
Newbie ![]() Group: Members Posts: 32 Joined: 26-November 10 Member No.: 399 |
OK I can not understand the same, what does this mean ?
About the Intro text - After "Before Item" and Before "After Item" . Where should I get the intro text in both situation ? Can someone explain ? |
|
|
|
Oct 28 2013, 11:53 AM
Post
#9
|
|
![]() Web Design Seo ![]() ![]() ![]() ![]() Group: Root Admin Posts: 4,332 Joined: 29-April 09 From: Sofia Member No.: 1 |
https://3dwebdesign.org/forum/joomla-scrape...for-joomla-t698
![]() Split introtext option: This function insert "Read more" tag at different places of content item: - No intro text ("Read more" tag is inserted at start of content item) - After "before item" ( "Read more" tag is inserted after content item and before content that is inserted from "before item" field of "Content seo") - Before "After item" - After content but before "after item" content. - Only introtext (all text inserted from feed is inside fulltext) "After item" and "before item" are fields in tab Content Seo in options. So, what you put inside these fileds will be before and after original content.
-------------------- Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
|
|
|
|
![]() ![]() |
Similar Topics
| Topic | Replies | Topic Starter | Views | Last Action | |
|---|---|---|---|---|---|
![]() |
Works On Demo Site But Not On My Site | 12 | imilanfc | 19,173 | 26th November 2013 - 10:08 AM Last post by: pavelKukov |
![]() |
Scraper Do Not Import .webp Image Extension | 5 | Juan Vicente Pascual | 53,814 | 16th May 2013 - 06:59 AM Last post by: Juan Vicente Pascual |
![]() |
Work With Cache | 1 | FireFly3000 | 15,112 | 8th January 2013 - 07:23 AM Last post by: Web Design Seo |
![]() |
Scraper Update For Aggregator Platinum plugin for Aggregator Platinum that add grabber functions |
1 | Web Design Seo | 11,523 | 13th June 2011 - 11:51 AM Last post by: Web Design Seo |
![]() |
Pinned: Scraper Plugin In Wordpress Aggregator Ultimate grabber functions in seo tool WP aggregator |
0 | Web Design Seo | 27,461 | 8th June 2011 - 10:11 AM Last post by: Web Design Seo |
|
Lo-Fi Version | Time is now: 1st June 2026 - 09:29 PM |