patternhtmlMinor
Should I return an object wrapped by an article tag?
Viewed 0 times
tagreturnwrappedshouldobjectarticle
Problem
Not sure if this is the right board for this topic but since it will affect my SEO i guess it's not that wrong to ask about this in here.
I just took on a website that lists some stores around your location.
You can enter some conditions and it will return a list of nearby stores.
I noticed that the List of stores will be returned as a `
I just took on a website that lists some stores around your location.
You can enter some conditions and it will return a list of nearby stores.
I noticed that the List of stores will be returned as a `
and each store is represented by an .
Ice Cream Store 1
foo
foo
Ice Cream Store 2
foo2
foo
....
Is this good code style? I thought ` should be represent ...well...articles about some topic like news or articles about a specific topic. Instead these articles are some stores which will change every few weeks. Whats the best way to represent a list like this?Solution
Spec:
The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
-
One of the below:
So probably not, as long as it isn't user-generated reviews.
The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
- Complete and self-contained? Yes - it has information about foostore which doesn't require the rest of the document to make sense.
- Composition? A work of music, literature, or art? Not really. It would work better if it included a review.
-
One of the below:
- A post? No.
- An article? No.
- Blog entry? No.
- User-submitted content? Is it?
- Interactive? No.
So probably not, as long as it isn't user-generated reviews.
Context
StackExchange Code Review Q#48506, answer score: 2
Revisions (0)
No revisions yet.