Bing search provider cached asset id (?a=xxxx) as link


(Kieran@parracity) #1

Hi guys,

 

Nothing urgent but it seems bing has cached a link to one of our old articles on our site and used the asset id link (/?a=xxxxxx).

This strangely used the correct design, but didnt apply any paint layout.

 

I have a feeling that Bing got this un-parsed url during my first few weeks of starting with Matrix, before I learnt not to reference things in raw html using the asset ID. (especially if a temporary link). Bing has obviously never updated this link.

 

Has anyone come across the issue of no paint layout when using Asset ID as url reference (not parsed into long url) and is there a way to set a default paint layout when accessed by ID or a way to mitigate this issue.

 

Not a biggie, as it only happened once, but it caused an issue that a viewer complained about (missing info).

 

Thanks!


(Nic Hubbard) #2

Nothing urgent but it seems bing has cached a link to one of our old articles on our site and used the asset id link (/?a=xxxxxx).

This strangely used the correct design, but didnt apply any paint layout.

 

I have a feeling that Bing got this un-parsed url during my first few weeks of starting with Matrix, before I learnt not to reference things in raw html using the asset ID. (especially if a temporary link). Bing has obviously never updated this link.

 

Has anyone come across the issue of no paint layout when using Asset ID as url reference (not parsed into long url) and is there a way to set a default paint layout when accessed by ID or a way to mitigate this issue.

 

What do you mean "not to reference things in raw html using the asset id"? This IS standard practice and is still the best way to do it since a NOTICE link will be created. Are you sure you are using the full ./?a=1234 link, including the period? There should be no reason that these style of links are not expanded on the front-end unless you forget the period.


(Kieran@parracity) #3

Sorry Nick, the way it was outputted was using a listing that displayed EXACTLY what I put as the URL.

For a while I was using the ./?a=xxxx method, but because it wasn't parsing this raw html section, it didnt change the link into the full URL.

 

I do still use the asset id as link if it's an area that will be parsed, so it will create the long URL, but for this section it doesn't, so we paste in the long url.

 

When I was doing this with short ./a?=xxxx link, it created a media release that didn't get the paint layout and therefore didn't show a date and some other info.


(Nic Hubbard) #4

For a while I was using the ./?a=xxxx method, but because it wasn't parsing this raw html section, it didnt change the link into the full URL.

 

Strange. Why isn't it getting parsed?


(Kieran@parracity) #5

Hi Nic,

 

I'll have to explain it better.

 

It's not a body content of a std page asset.

We have a news slider, which is listing images.

We use the "alt" field of the image asset as the field to insert the URL (url where you want the title of the slide to link to) into. Then we output this field where applicable in the listing which creates the slideshow.

 

I didn't design this slideshow, but I know for sure that if you enter the asset id URL in the field I stated, it doesn't parse it on the front end.

 

Sorry if I'm hard to understand. Explanations aren't my native language :(


(Nic Hubbard) #6

Sorry if I'm hard to understand. Explanations aren't my native language :(

 

No worries, I understand now. Just wanted to find out where it wasn't getting parsed, and you are right, it wouldn't get parsed inside of a attribute like that.

 

Thanks for explaining it. :)