
: Will echoing content from a simple XML loaded with PHP cause the page to show up in search results (SEO)? I want to know if I'm using PHP right to create search friendly content. I'd like
I want to know if I'm using PHP right to create search friendly content. I'd like my images to start showing up in Google for my website, so I'm passing an RSS feed to PHP file using the simplexml_load_file command and writing content to the page with echos.
$rss = simplexml_load_file('~~RSSfeed~~');
foreach ($rss->channel->item as $item) {
echo '<li>'. $item->description .'</li>';
}
Will displaying a list of images and text (there's other formatting and divs that I didn't include) make this content show up in search results?
More posts by @Harper822
1 Comments
Sorted by latest first Latest Oldest Best
Google, and any search engine, see the resulting page as served over HTTP. They have no idea how that page is generated server-side. The same as an entirely static page. So Google should see this content and providing you aren't blocking it with robots.txt, meta tags or HTTP response headers, etc then Google should index it.
Id like my images to start showing up in google
However, your question is a little confusing. If your on-page images previously did not show up in Google then there may be other problems.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.