![]() (Now i went to my_content_type i couldn’t find anything for FIG settings)ĥ.Comes to mapping “Select a source” “Select a target” – pathparser:0 TitleĦ. I have deleted all the existing images before I import again but I still get this error everytime.ġ.Installed feeds+Feeds XPath Parser along with feeds image grabber.Ģ.Already having a content type with the following fields Title, Category, Option, Image, Type(a drop down).ģ.Since i am parsing XML i am using the module Feeds Xpath Parser and in “Select a parser” XPath XML parser – Parse XML using XPath.”Ĥ.Having a “Plain text” Text format and the content type “my_content_type”. SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/mr-worldwide_344x471.jpg’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/newt-gingrich-ad-mitt-romney-will-say-anth’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/joe-paterno-pic_474x332.jpg’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/laura-kaeppeler-vote-for-me_450x254.jpg’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/lana-del-ray-video-games-saturday-night-li’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/colbertromney_478x264.jpg’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/britney-spears-management-team_517x283.jpg’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/kate-major-mugshot_301x379.png’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/kayte-walsh-and-kelsey-grammer-photograph_’ for key ‘uri’ SQLSTATE: Integrity constraint violation: 1062 Duplicate entry ‘public://feeds_images/kim-kardashian-with-bangs_244x362.jpg’ for key ‘uri’ Whenever I delete existing nodes after the first import and I do the import again. Hi I posted a question at drupal but there was no reply so I am hoping I can get some help here. I am working on better error logging and reporting, so that you can know the reasons for sure. Validation failures (due to maximum size, minimum resolution, etc).Timeout, try increasing the Execution time.If images are not grabbed, here is a list of possible reasons, Once you click on import, you will get the feed item nodes along with the images. If images are not grabbed for some feed, try increasing this percentage to decrease errors due to network timeouts. Execution time: FIG will take the selected percentage of maximum PHP execution time to grab image for each feed item.Feeling Lucky: FIG will select the first image between the tag if the “yes” is selected, else will search for all the images to find the largest image between the tag.Search for an image between the tag identified by: It has been explained before here.Enable Feeds Image Grabber: As the description says, check this box if you want FIG to download images of the feed items created by this feed.Here is a brief explanation of the available fields: ![]() Now, you must go to the mapping settings for the Node Processor of the Feed Importer and map Item URL (Link) to one of the available imagefields which are appended by “ (FIG)“. While grabbing the image, FIG will automatically take into consideration the settings of the image field to which the downloaded image will be mapped. ![]() ( )Ĭonfigure the settings of the image field, such as extensions, minimum and maximum resolution, maximum size, etc. For example, if the content type of feed-items is story, you need to go to admin > content types > story > manage fields and add a field of type File and widget Image. Therefore, you must add an image field to this content type. FIG will store the image grabbed in an image field attached to the node of this content type. ![]() In this post, I will briefly demonstrate how to configure the settings for FIG to efficiently grab images for feed items.įeeds module will create nodes from feed-items of content type as chosen in the FeedsNodeProcessor settings. Configurable minimum and maximum image resolutions.Configurable XPath of the desired image location on the webpage of the feed item on per feed basis (using element’s id or CSS class).Automatically downloads and attaches image to the node created by Feeds module.Feeds Image Grabber (FIG) was released on 3rd March, and currently supports the following features:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |