Questions tagged [feeds]

Use it for questions about feeds and the Feeds module.

Filter by
Sorted by
Tagged with
0
votes
0answers
43 views

Get Node from link

Within the mymodule_preprocess_views_view_row_rss(&$variables) hook, we are able to get the link by using $variables['row']->link. However, we are not able to access the node for which that ...
0
votes
1answer
2k views

Add image to RSS Feed

We are using the Feed Display for a view where we want to display all Articles in a rss.xml file. Below are the View settings. However, we cannot find a way to add an image attribute that meeting the ...
1
vote
0answers
307 views

Custom feeds plugin not discovered [closed]

I am trying to create/work on an Address target plugin for the Feeds module. I have tried applying this Address target patch (shown below) from this related issue. However, the Address field on the ...
1
vote
1answer
140 views

I have 2 commerce feeds imports, one must run before the other

I have a drupal 7 commerce site, each day our client uploads a .csv with updates to approx. 4000 products, including published status. 2 imports have been configured, 1 to update the product ...
1
vote
2answers
598 views

Change Entity Value In hook_feeds_presave()

I am trying to modify data coming from a feed before it saved to a node by using hook_feeds_presave(). I have code that looks like this: my_module_feeds_presave(FeedsSource $source, $entity, $item) {...
0
votes
1answer
408 views

Import images from RSS with Feeds module without Feeds Image Grabber

I'm passing all the sites from D7 to D8 and so far so good. But one of my sites gives me a couple of problems. I was populating the RSS site in Drupal 7 using Feeds Image Grabber. Now, Feeds Image ...
1
vote
1answer
621 views

How to programmatically alter feed item values before saving

Feeds Tamper does this job, which allows me to "tamper" with feed items' values before saving it to an entity. My question is how can I do that programmatically in Drupal 8 with a custom module.
2
votes
1answer
44 views

Feeds importer imports only some of the nodes

In D7.59 I have to import .csv file and there are all the mappings prepared for that. The file has 500 records, that will become nodes of a content type "record". There are no nodes of this content ...
1
vote
1answer
95 views

access denied feed/[id]/import for a feed item

I am dealing with an older d8 site that has a feed item of a custom type with custom processor. When I go to admin/content/feed and click on an existing one and I go to feed/id/import I get access ...
1
vote
1answer
629 views

How do I properly add a custom source for RSS feed import?

I am setting up the mappings for a Feed entity, but I cannot figure out how to properly set custom sources for fields. In this case, I am grabbing records from an XML document ("RSS/Atom" option) and ...
0
votes
1answer
25 views

My content type has a string of words, how do I make them tags?

I am very new to drupal. I currently have a content type called 'Issue', which has a plain text field containing something like "money, houses, pigs". How can I look at that string and turn each word ...
0
votes
1answer
51 views

Force Creation of New Node With hook_feeds_presave Rather Than Node Update

I want to have very specific control over the node update process for Feeds. Using hook_feeds_presave() I can stop a node from being updated with $entity->feeds_item->skip = TRUE; but how can I ...
0
votes
1answer
1k views

Adding RSS feed view

I was trying to add a RSS feed view in Drupal 8. I selected feed row style for Fields, and clicked on Save and edit, but I got this message. Row style plugin requires specifying which views fields ...
3
votes
1answer
181 views

How to set the correct RSS row plugin?

I need to add an image to the RSS feed. So I create a new row plugin for the RSS and it extends RssFields row plugin. /** * Renders an RSS item based on fields. * * @ViewsRow( * id = "...
0
votes
1answer
271 views

how to add cache tag in custom rss feed

how to add cache tag in custom RSS feed in Drupal 8 I have tried like this use Symfony\Component\HttpFoundation\Response; $response = new Response(); $xml_content = '<?xml version="1....
0
votes
1answer
96 views

Feeds remove item with certainly conditions [closed]

Good day I have a problem with the side of developer with certainly conditions i need remove a item from source. for example i have in source nid and phone1 and phone2 but if phone2 is the same ...
0
votes
1answer
263 views

Add custom text as a label in front of RSS feed icon

I want to change the label from "Subscribe to News" to "Subscribe to News Feed" displayed with RSS icon in drupal8. Also I need to open a popup window on clicking icon. Attaching the screenshot: Any ...
0
votes
1answer
54 views

How to install required packages for feeds spreadsheet module as shown required by Composer Manager?

Modules being used Composer Manager Feeds Spreadsheet Requirement I need to install the package as mentioned in the configuration page of module composer manager. The error shown is as given below. ...
0
votes
0answers
469 views

Feeds module import csv: problem with mapping

I've been trying to import data from a .csv file into my content type but have found some trouble mapping the headers of the csv file to fields. How do you map a field to a header (since I'm not ...
0
votes
1answer
16 views

Method to test if site has rss view

Our group has a multi-site drupal-D7 installation -- approximately 70 sites -- we need to identify which site have an RSS view. I've been trying to find a signature in the databases' that we could ...
0
votes
3answers
1k views

Import date field with feeds

I have a csv with a Date field that contains the date in one of the following formats: dd/mm/yy (ex. 13/11/04) dd/mm/yyyy (ex. 13/11/2004) I need to import these dates to my field in the format dd-...
-1
votes
1answer
22 views

How can I get the mappings from feeds

I want to get programmatically the mapping which was set by the user on the feeds config page (/admin/structure/feeds/<name>/mapping_en). But how can I do it?
0
votes
1answer
128 views

Feeds import - If title has "=" at the end, check whether duplicate content exists

I have an XML to import products to Drupal Commerce site. But some products are duplicates. Duplicate products are having "=" at the end of their title, but NOT all products with "=" at the end of ...
1
vote
1answer
84 views

Underscore is added to links in view

I'm writing a workaround to fix the breaking changes introduced to our XML feed when we updated from Drupal 8.4 to 8.5. Since PATH is no longer available but has been replaced with LINK, I've had to ...
0
votes
1answer
36 views

LDAP Feeds example not importing new users - Undefined index: count in FeedsLdapEntryParser

I followed the LDAP Feeds example from the documentation and the query test returns the user fields just fine, but after launching the cron job manually I get "There are no new users." + notice: "...
0
votes
1answer
13 views

Add a DB record for taxonomy with Rules

I actually import terms from Feeds Xpath and copy them to a Content taxonomy field. But this term isn't recorded in the term_node table as expected by checking the checkbox. So can I use Rules to "...
0
votes
1answer
620 views

How to get Node Url in RSS view?

We are using the default RSS feed view found at /admin/structure/views/view/frontpage. We want to change the Show to be Fields so we can setup up which field should be used for the title, link, ...
0
votes
1answer
125 views

In the Aggregator module, limit number of items per feed

I am using the Aggregator module in Drupal 8 to combine several RSS feeds, but I would like to set a limit on the number of items that are shown from any one feed. How can I accomplish this?
0
votes
1answer
76 views

How to map a taxonomy term into Feeds Importer?

I have several Blank sources in a Feed and I'm mapping a value to these blank sources in my custom code. I have a working example to set a value of a field of type 'TEXT FIELD': function ...
-1
votes
1answer
256 views

Feeds: How to import images using Xpath Parser for XML?

I am using the Feeds module for XML import. I have created entity type with the Image as a text field. I need to import an image from XML and have it shown on the page. My XML is like this: <...
0
votes
1answer
475 views

Decode an image in base 64 to a file, using feeds, feeds tamper and jsonpath

I have a problem importing a 64 base image through the feeds module. I am consuming a service through jsonpath. I am using the tamper feeds module to try to decode the image and then save it as a ...
0
votes
1answer
113 views

Feeds import should delete non-existent nodes and not insert new nodes

Use case: Drupal 7 Importing nodes from an XML source. Every Wednesday 18 PM: run import and add new nodes. Every hour: run import and delete non-existent nodes AND do NOT add new nodes. I'd ...
0
votes
1answer
806 views

control RSS feeds

How can I control which RSS feeds Drupal generates automatically? I would like to send out my site's content but choose which categories of posts are included in the RSS. I am using Drupal 8.
-1
votes
1answer
138 views

How do I get an image from an external site using RSS?

I used the Aggregation module to consume news from an external RSS, but the pictures are not showing up. Can anyone help me?
1
vote
1answer
602 views

Aggregator with custom RSS field

I have a simple RSS feed I am importing via core Aggregator module in Drupal 8.5. One specific field in the Item can't be accessed by Views, and it's critical for display. I'm relying on hacky ...
0
votes
0answers
428 views

Feeds Tamper Find and Replace Regex

I am using Feeds and Feeds Tamper Find and Replace RegEx Plugin to import a few files to Nodes. The importer has been mapped correctly, however, doesn't import any data. On each import I get the ...
0
votes
1answer
299 views

RSS does not validate properly

I am trying to generate an RSS feed, but it does not validate. I googled around and found RSS Feed does not validate using Views RSS module, but unfortunately it's for Drupal 7, while I am using ...
0
votes
1answer
598 views

Feeds - How to set a blank source value programmatically

I'm triggering a Feeds import in a custom module I made. I need to set a value of a blank source in that code because that value is not in the source file (in this case is a xml). Is it possible to do ...
0
votes
1answer
16 views

Where do I specify the URL of the incoming XML?

In D8 I installed the feeds module. I added a feed type named Coindesk Before I can do the mapping I should add a url to this feedtype. I cannot find where I should do this. I looked in all the ...
0
votes
1answer
143 views

Cannot print $variables using template_preprocess_views_view_rss() in readable format

How can I print out $variables from template_preprocess_views_view_rss() in a readable format? The RSS view page uses a non-rendering format and is impossible to read. I need to manipulate the feed ...
0
votes
1answer
145 views

Drupal 7, Aggregator, RSS no longer imported: The feed from $ seems to be broken, due to an error "Invalid document end" on line #

I run a Drupal 7 website and have a separate WordPress blog. The blog generates a feed, which I display (RSS2 version) in a Block on the Drupal website via the Aggregator core module. This worked fine ...
0
votes
2answers
48 views

Feeds importing unique nodes over and over

I'm trying to import events to a calendar from an external ics.. I installed the Calendar module with the Feeds module. Unfortunately it creates the whole time new nodes. Even if the UID is unique (...
3
votes
2answers
2k views

Remove import instance from list using Migrate Tools module

I'm trying to remove an rss reference of a migration. Once I put the yaml code into the Migrate module in the drupal admin interface, it creates a reference to that yaml code, but there is no one in ...
-1
votes
1answer
52 views

Feeds cant import product node again after manually deleting it

I came across this problem. I mapped product variations to the wrong category, and then I manually deleted variations. Also the display got deleted. Then I tried to import it again via csv excel file ...
-1
votes
1answer
188 views

Importing multiple product variations in one product display

I have this huge problem I cant understand. I import products via feeds....i have mapped excel cvs file.... I can import one product variation to one product display... But I have 4 product ...
1
vote
0answers
18 views

How can I get feeds to show up on front page or other designated sections of my news site?

How can I get feeds to show up on front page or other designated sections of my news site? I have a DFrupal 8 site using the News theme. I don't know how to set up the RSS feeds to show on the front ...
1
vote
0answers
128 views

Show media:thumbnail in aggregator item

I am using drupal core aggregator to show images from instagram on my website. i get the rss using https://web.stagram.com/rss/n/page_name. The images are dispalyed as media:thumbnail in the rss, and ...
-1
votes
1answer
62 views

Commerce/Feeds - Update Line Item Fields

We are attempting to add order reconciliation functionality to a Drupal Commerce site: distributors can download orders placed for their products, they update in a CSV with status of those line items, ...
-1
votes
1answer
233 views

Feeds - importing from 2 csv

i'm having issue with Feeds module, i already imported my csv but the images are in a different csv file, (the images are urls from old site) in the first csv i have and ID for every gallery and ofc ...
0
votes
1answer
3k views

How do I set field mapping in the Feeds module for Drupal 8?

I'm trying to use Feeds 8.x-3.x-dev on Drupal 8.4. I've created a feed type (eg. News Feed) and I'm trying to set the field mappings, but I get an empty list with no way to add anything to it: The ...

1
2
3 4 5
18