Media Integration? - YouTube urls to Embed in Node

Created on 8 September 2024, 2 months ago
Updated 16 September 2024, 2 months ago

Ok. Here is my Issue. Drupal 10 user.

I have a massive CSV file the client wants imported as url to YouTube Embed in "Video" nodes.

I have the data but when I import my feed from > "Feeds" does not parse the data correctly.
Seems to be a disconnect with Media Core and Feeds module.

I have been using Feeds since the D7 days and love this module and team!

Question - I remember somewhere that a patch was submitted to fix this issue, but I have no idea.

Is Media integration planned. I think Feeds should be adapted into Core. Not sure why its not. To me this is a solid solution for importing content. I have tried Migration which is tedious. Feeds has a UI and has been consistent through out the Drupal Life Cycle...

Please Feeds team - keep up with this module - ITS AWESOME!!!

πŸ’¬ Support request
Status

Postponed: needs info

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States joedevdrupal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @joedevdrupal
  • πŸ‡ΊπŸ‡ΈUnited States joedevdrupal
  • Status changed to Fixed 2 months ago
  • πŸ‡³πŸ‡±Netherlands megachriz

    Please Feeds team - keep up with this module - ITS AWESOME!!!

    Thanks for your compliments! πŸ˜ƒ It takes a lot of effort to keep the module up to date and to also find time for the things it is still missing.

    Better integration of the core Media module is indeed still on the agenda. I don't use the Media module myself that much, so therefore I've not made it a priority yet. The last few years my focus had been working towards a stable release and fix the bugs that were causing (temporary) data loss. You can see on the roadmap 🌱 [meta] Feeds 8.x roadmap Active what else is on the agenda (the roadmap might need a little update, stable release blockers are done now).

    Media issue

    Question - I remember somewhere that a patch was submitted to fix this issue, but I have no idea.

    The issue with code to help with Media imports is:
    ✨ Add a mapping target to media field Needs review
    I don't know how stable the code is, but it does at least require automated tests before it can be merged.

    Workaround

    If the code from the issue doesn't help, a possible workaround can be to import the media entities separately, using the Media processor. You do would need a unique identifier for each media item, but I think that the video urls would be unique? So your CSV would then probably look something like this:

    You can map 'video' both to the video field on the media entity (not sure how that field is called) and to "Feeds item: guid".

    On the feed type where you have the media field, you would then still use the url source, but you would choose to reference by "Feeds item: guid" (I hope that this is an option when you click on the wheel icon in the "Configure" column).

  • πŸ‡ΊπŸ‡ΈUnited States joedevdrupal

    Thanks for the reply. I don't use the Media module at all to be honest. Back in the D7 days this worked like a charm.

    I am not sure what other module other than "Feeds" is better. I am sure developers have their own workflows, but Feeds always delivered for those of us less likely to use the CMD prompts.

    Does anyone else in the community have any experience with this that can help out or advise?

  • πŸ‡ΊπŸ‡ΈUnited States joedevdrupal
  • πŸ‡ΊπŸ‡ΈUnited States joedevdrupal
  • πŸ‡ΊπŸ‡ΈUnited States joedevdrupal
  • Status changed to Postponed: needs info 2 months ago
  • πŸ‡³πŸ‡±Netherlands megachriz

    I don't use the Media module at all to be honest.

    Sorry, I am a bit confused. Because "Media integration" is in the title and "Media Core" in the issue summary, I was quite confident that you were talking about the core Media module here.

    If you are not, can you provide the steps to reproduce your issue?

  • πŸ‡ΊπŸ‡ΈUnited States joedevdrupal

    What module would you use to do this job? Feeds is the only module I am aware of that has a UI and doesn't take a tedious amount of time for simple content mappings

  • πŸ‡³πŸ‡±Netherlands megachriz

    @back from 7

    What module would you use to do this job?

    For importing content, I would choose Feeds most of the time.

    In order to help you further, can you tell me step by step what you did so that the issue you are facing can be easily reproduced? Which modules did you install besides Feeds? Do you use additional contrib modules in order to create video nodes? Or can these video nodes created with core modules alone? If so, which core modules? (I thought first you used the core Media module to create video nodes, but later you said you were not using that module.)

Production build 0.71.5 2024