Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [feeds]

Use it for questions about feeds and the Feeds module.

0
votes
0answers
9 views

Feed importer and Elysia Cron not executing feed

I am using Feeds module with importer to create nodes. I have scheduled Elysia cron to run the feeds cron and job_scheduler_cron every 15 minutes. But currently it looks like the feeds cron is not ...
0
votes
0answers
6 views

How to import data from multiple urls using feeds importer?

I have two api urls. One returns all the products with product ids and the 2nd url return detail about a single product using the product id. So my requirements are. Request the first url, Get the ...
0
votes
0answers
27 views

How can I display/filter RSS 2.0 <item> Element <category>

I would like to display (and filter) in an aggregation item view the RSS Element , but it does not show as field. How can I included this rss-tag?
0
votes
0answers
17 views

How to map key value pair xml data in feeds mapping

I have a xml data like this. In feeds_ex how can I map the metadata key value pair to content type fields target. What to write in new xpath source.
0
votes
1answer
110 views

Import data with feeds that is not in the source file

I need support to set a field on a feeds mapping that is not in the source. I already have some code that for some reason is not working. If I use hook_feeds_after_parse, I can set the value but I ...
0
votes
0answers
32 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
119 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
76 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 ...
0
votes
1answer
41 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
57 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) {...
-1
votes
1answer
103 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 ...
0
votes
1answer
91 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.
0
votes
0answers
22 views

How to import Meta description based on URL via Feeds module?

I am having a large sheet (excel file) with URL's and Meta Description next to them. I want to import them via Feeds module so I do not have to open, write, save and close hundreds of pages manually. ...
0
votes
0answers
39 views

Feeds Can't Import Author with missing Email

I am being tasked with using an external RSS feed that does not correctly use the Author tag. Its values just contain a first and last name like this: <author>John Smith</author> After ...
2
votes
1answer
24 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
32 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 ...
0
votes
1answer
268 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
22 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
26 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
151 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
0answers
113 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
63 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
45 views

Feeds remove item with certainly conditions

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
82 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
29 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
202 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
1answer
190 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-...
0
votes
0answers
28 views

Import field with Feeds that is not in source file

I've created a feeds importer (CSV parser) and I need to import data that is not in the source csv, into a field of my content type. The field in the content type (taxonomy term) is: My feeds ...
-1
votes
1answer
17 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
43 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
44 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
23 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
12 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
307 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
47 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
29 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 ...
0
votes
1answer
81 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
148 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
46 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
469 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
72 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
243 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
164 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
87 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
210 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
15 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
49 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
67 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
36 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 (...