Eric Mann
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Publication Archive] pdf-document can not openCan you provide me a link to your site so I can see this? I’ve fully tested the system with PDFs and it works elsewhere. It could be an encoding problem.
Forum: Plugins
In reply to: [JS Banner Rotate] changing default alt tagsI’ll take a look at that and get back to you.
Forum: Plugins
In reply to: [WP Publication Archive] p and br tags not renderingI’ll take a look, thanks for the report.
I’ll take a look at that. Thanks for the support.
In the mean time, what other plugins are you running?
Forum: Fixing WordPress
In reply to: Feedback on code for get attachment link code snippetThe
print "\n";line isn’t absolutely necessary. Yeah, it’ll make your HTML markup look nicer when people use view-source, but it won’t affect the rendering of the page at all and any developer tool will reformat the markup anyway.That said, this is pretty much the exact same code I use to look through attachments as well …
Forum: Plugins
In reply to: [WP Publication Archive] php errorWhich version of WordPress are you running?
Which version of PHP are you running?
Is cURL enabled on your server?Forum: Plugins
In reply to: How to hard code a folder name@jakjackson – First of all, you didn’t link any files. Second of all, the plugin pulls information from the database directly, not from the file system. If you want it to instead pull from the file system, all you have to do is ask and I can put it on my to-do list.
Forum: Plugins
In reply to: [WP Publication Archive] Search resultsFor those of you keeping track, version 2.3 now integrates the publication list with the blog search system. Search results will return a title (in the form of “Publication Title (Download Publication)”) and the summary you entered for the publication. The permalink returned is the direct download link.
Forum: Themes and Templates
In reply to: HTML5 Lang Attribute problemsI did some more digging, and I’m answering here because this definitely does not belong on Trac.
The problem is 50% caused by W3 Total Cache and 50% caused by the validator you’re using.
After I poked at the code for W3TC I discovered that it does indeed include code for forcing XHTML. Apparently there’s an option you have to explicitly set to switch to HTML, otherwise it assumes you’re working with XHTML and replaces the
<!DOCTYPE>declaration before serving the page. I couldn’t dig too far into the code, but my best guess is that it either also forces thexmlnstag as well as a result.The other problem is the validator. It seems to be caching the response from the server. I know you’ve done some work to disable W3TC on your end, and every other validator I can find serves up the appropriate HTML version on the site (without the annoying
xmlnstag). But the validator you’re using keeps serving up a cached version.So either the validator is talking to your CDN and pulling down a cached version of the site, or it has its own cached version that’s not working right.
I did verify in 2 other web accessibility scanners, and they don’t see the
xmlnstag at all.@gwjameson – I try to respond to support requests as soon as I see them. If you need to get in contact with me more quickly, feel free to drop me an email. There’s a contact form on the same page as the Donate form all of my plugins link to. That would also speed up my response to feature requests like yours.
Forum: Plugins
In reply to: [WP Publication Archive] Search resultsI haven’t built out the search feature yet. But I can add that to the list of requested features. You can follow progress here: https://github.com/ericmann/WP-Publication-Archive/issues/1
@gwjameson – You already started a new thread to ask this question …
Forum: Themes and Templates
In reply to: HTML5 Lang Attribute problemsActually, scratch that.
Turn off your cache!
When I load your page directly in the browser and I view the source, I don’t see any problems with the
<html>declaration. When I turn on the “show source” option for your validator, I can see the xmlns tag and this code in the footer:<!-- W3 Total Cache: Minify debug info: Engine: disk Theme: 1c66c Template: home Replaced CSS files: 1. wp-content/themes/sohailtech/style.css --> <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/ Database Caching using disk Object Caching 1132/1248 objects using disk Content Delivery Network via cdn.sohailtech.com Served from: www.sohailtech.com @ 2011-06-17 13:51:20 -->When the validator tries to access your site, it’s pulling a static, cached version of the homepage!
Forum: Themes and Templates
In reply to: HTML5 Lang Attribute problems… if that’s the code, then I don’t see how WordPress could possibly be adding the xmlns declaration. If you had instead:
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head>Then I could see something happening. But WordPress itself does not do anything to the
<html>tag on its own. What plugins are you running? One of them might be forcing the change … or there could be something on your site that’s causing the validator to add it.Forum: Themes and Templates
In reply to: HTML5 Lang Attribute problemsCan you post the code from your
header.phpfile that’s generating the first part of the markup?