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

maciej.zgadzaj’s picture

Status: Active » Fixed

You need to use one of RSS <enclosure> element formatters for your filefield.

aiphes’s picture

Status: Fixed » Active

ok but which field type do i choose ? data , delta or filefield himself ? actually the filefield not working and check feed return error like

line 16, column 0: Missing enclosure attribute: length (7 occurrences) [help]
<enclosure><img src="http://www.lycee-edmond-rostand.fr/sites/all/media/imag ...
maciej.zgadzaj’s picture

Status: Active » Fixed

I 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.

aiphes’s picture

thanks i just found the way yesterday ! glad to see i wasn't wrong..

aiphes’s picture

Status: Fixed » Active

after 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 ?

aiphes’s picture

Status: Active » Fixed

in dlvr.it set images on facebook choice , then images are displayed and all work like a charm...yess

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.