Edit SearchText and SearchTitle on indexing from RSS connector

Vote:
 

Hi,

Is there a´n event or other methods to manipulate what data writen to SearchText, SearchTitel etc. when indexing from a RSS connector?

We have a hard time doing any kind of manipulation of the data inexed from a RSS connector both on search and on idexing.

Any idées?

Regards
/Jesper

#206390
Aug 19, 2019 16:04
Vote:
 

Hi Jesper 

You may be able to add use an extension method for the rss entity which will allow you to manipulate the field and add it as a custom field in the index which you can use. Information about this here:

https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2015/5/best-pratice-for-including-information-that-does-not-exist-on-content/

David

#206420
Aug 20, 2019 18:33
Vote:
 

Hi,

It would be great if we could use conventions to call a extention method like:

ContentIndexer.Instance.Conventions.ForInstancesOf<RssContent>().IncludeField(x => x.extentionMethod());

But RSSContent doesn't inherit from IContentData and can therefore not be used in this way.

Why EpiServer has chosen to not make RSSContent and WebContent inherit from IContent is a mystery to me.

Is there an other way than conventions to call extentionmethods on indexing?

/Jesper

#206443
Aug 21, 2019 12:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.