meta

updating dynamic meta tag - asp.net

The master page contains two pieces - .ascx control to hold meta information and this aspx page. The aspx page queries database (based on some URL parameter) and determines that the current database piece to display is x, and the display-name of x is y. ( All with the help of database). Now, the meta tag should contain y as one of the k...

HTML <meta> tag and squid

Does the HTML tag: <META http-equiv="Cache-Control" content="no-cache"> <META http-equiv="expires" content="0"> <META http-equiv="Pragma" content="no-cache"> also instruct squid to not cache that particular page? Or is it only telling the user's browser to not cache it locally in his/her machine? ...

I specified charset in the headers, do I need to specify it in the meta/head/html?

I specified charset in the headers, do I need to specify it in the meta/head/html? ...

Force browser to clear cache

Is there a way I can put some code on my page so when someone visits a site, it clears the browser cache, so they can view the changes? Languages used: ASP.NET, VB.NET, and of course html, css, and jquery. ...

Setting cache headers with meta tags: always get "private" in cache-control response

I have a SharePoint master page with the following tags in the head section: <META HTTP-EQUIV="Expires" content="-1"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="private"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-store"> Despite the f...

How do I create an instance of value from the attribute's meta object with Moose?

I'm working on a serialization tool using Moose to read and write a file that conforms to a nonstandard format. Right now, I determine how to load the next item based on the default values for the objects in the class, but that has its own drawbacks. Instead, I'd like to be able to use information in the attribute meta-class to generat...

Is it possible to bookmark an alternate URL

When a user tries to bookmark one of my pages, I really want it to bookmark a different URL (in my case a tel:// URL -- on the iPhone). Is there a meta tag or something I can use to specify that the browser bookmark an alternate URL? ...

ASP.NET C# - Reading Meta tags dynamically

Hi, Can someone please help me trying to figure out how to simply write the meta tags in an asp.net page. The meta tags have been inserted in the page and I just want to loop through them and write the keywords tag. I don't have a probably adding dynamically, just reading. Thanks in advance. ...

Meta http-equiv, can i?

I have put this code in my index, to load a new page, and then later 2 secs later, move to my original screen. With the intention to load a "music_player" and then 2 seconds later, move toward my NORMAL page. Having the player load in a new window. But the code don't work as it should, it just replaces without the "Target="_blank" can't ...

[Design] How to store configuration settings for web app?

I have some site metadata I'd like to be changeable... for example, in my application, if the sysadmin didn't want to use the "Inventory" portion of the site, he/she could turn it off, and it would disappear from the main site. So I was thinking, maybe I could make a table in my database called "meta", and insert values (or tuples) ther...

How Can I Put Meta_Compare in the Database-Query? [Wordpress]

or something like > current date <?php $currentdate = date("Y-m-d G:i:s", $timestamp); $querystr = " SELECT * FROM $wpdb->posts LEFT JOIN $wpdb->postmeta AS term ON( $wpdb->posts.ID = term.post_id AND term.meta_key = 'vst_ort' ) LEFT JOIN $wpdb->postmeta AS course ON( $wpdb->posts.ID = course.post_id AND course.meta_key = 'vst_date' ) ...

Does Meta Refresh work during page load?

Page A has a meta refresh to redirect to another page, C, after a certain amount of time (time T). From page A a link is clicked that takes a long time to load, longer than time T, and would eventually load another page; B. Will the meta refresh on page A cause the page to be re-directed to C, or will the processing of the link overri...

How do I retrieve a custom meta tag in a page?

I have the following code: List<HtmlMeta> metas = new List<HtmlMeta>(); foreach (Control c in this.Page.Header.Controls) if (c.GetType() == typeof(HtmlMeta)) { HtmlMeta meta = (HtmlMeta)c; if (meta.Name == "CategoryID") strMeta = meta.Content; } I created this custom meta tag: <meta id ="Catego...

How do I make a new Moose class and instantiate an object of that class at runtime?

After creating a metaclass using Moose::Meta::Class->create, how do I instantiate a real Moose class with that class as a metaclass? (I need to create the metaclass also because I also want to apply some roles to it.) ...

how to set my 'div' element full of screen(width),when iphone Change direction,it also full screen(width)

and set the 'height' 1/2 of full screen. this is my code: <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" manifest="/m?manifest=1"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="v...

Looking for Programming Language that allows you to change true and false.

For my curiosity sake I'm looking for a dynamic object oriented language that allows you to change true to false and vice versa. Something like this: true = false, false = true; This should also affect any conditional statements, therefore 42 == 42 should return False. Basically, with this premise, nothing in the language would be sa...

How Can I mimic a meta refresh with JS?

I tried to do <script type="text/javascript"> //<![CDATA[ document.write('<meta http-equiv="refresh" content="0;url=index.php" />'); //]]> </script> but that doesn't validate on strict =[ how can I do that with JS alone? ...

jQuery selectors with meta-characters

Hello Guys, I'm having problem selecting an element with an id like this <li ="0f:Bactidol_Recorder.mp4">. I tried using the function that escapes meta-characters with two backslashes below from this jquery link but still can't select the element Function: function jq(myid) { return '#' + myid.replace(/(:|\.)/g,'\\$1'); } Examp...

removing meta data from EPS files with ImageMagick

I have successfully converted eps files to jpg using ImageMagick but the image meta data remains in the converted jpg. I tried using -strip during the convert but the meta data persists. Has anyone solved this with ImageMagick or any other way? Thanks ...

How can I limit a wordpress meta_box to a single page?

I need a way to limit the meta box to a single page (ID=84) ... if I do the following it works, but sbumit data does not go through and data is not saved ... add_action('admin_init','violin_init'); function violin_init() { if ($_GET['post'] == '84') { wp_enqueue_style('violin_admin_css', VIOLIN_THEME_PATH . '/custom/met...