It's Portal 6.

I have .html page which links to several file resource components stored in WCM,

PDF test

when I setup the Portal search collection and source of a type "web site", PDF document is indexed but result is displayed in a not user friendly fashion.

For example : "http://localhost:10038/wps/wcm/connect/e72da6004

Is there any chance to change this, it seems that crawler is not smart enough to recognize some of the href attributes and take a title from there.