Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
i would to include image from filefield in my rss feed used to publish on facebook pages...but actually images aren't display...
in inclosure :
line 16, column 0: Missing enclosure attribute: length (7 occurrences) [help]
<enclosure><img src="http://www.lycee-edmond-rostand.fr/sites/all/media/imag ...
in comments:
line 16, column 10: Undefined comments element: img (7 occurrences) [help]
<comments><img src="http://www.lycee-edmond-rostand.fr/sites/all/media/image ...
how can i fix this ?
thanks
Comments
Comment #1
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedYou need to use one of
RSS <enclosure> element
formatters for your filefield.Comment #2
aiphesok but which field type do i choose ? data , delta or filefield himself ? actually the filefield not working and check feed return error like
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedI assume you have already tried it yourself and found the solution, but for anyone other reading this - it needs to be standard File field (not Data, not Delta), using
RSS <enclosure> element: file
as Format. Nothing more, nothing fancy here.Also, documentation.
Comment #4
aiphesthanks i just found the way yesterday ! glad to see i wasn't wrong..
Comment #5
aiphesafter changing my views and the format, image isn't published by facebook...any idea of these misworking ?
EDIT : http://www.newsalloy.com display images so the feed is well setting, facebook is the guilt in this, do i set a particular thing in facebook ?
Comment #6
aiphesin dlvr.it set images on facebook choice , then images are displayed and all work like a charm...yess