markup

What tools do you use when generating markup from mockups?

So I endeavor to spend most of time on the app server side of things but time to time I need to get my hands dirty and generate markup/css/js from a wireframe or mockup. As far as tools go, Ive found browsershots and Litmus app helpful and of course, vm's as well for checking things out live in ie-{6,7,8}. Otherwise I do the heavy liftin...

How do you ensure valid W3C XHTML when using affiliate links?

It seems that most affiliate programs (e.g. Amazon, Linkshare, etc.) provide non W3C compliant XHTML code fragments. When I use the W3C validator I get hundreds of errors and warnings on any pages that use affiliate links. Mostly the issues are non-encoded special characters, but there are other problems too. I'm a bit worried about th...

machine readable language for writing notes

I'd like to write notes for class in plain text. I was wondering if there was a markup language for doing this, where I could parse the notes for key terms, titles, page #s etc programmatically with a language such as Ruby or Python. ...

flash has mxml microsoft has xaml What has java?

Flash has MXML and Microsoft has XAML. What markup languages does Java have? ...

What is the best UI Java markup language for designing applications for Google Android?

What is the best (meaning: most popular) UI Java markup language for designing applications for Google Android? So i will say something like <Application layout="vertical"> <Panel width="250" height="200" layout="vertical" horizontalAlign="center" verticalAlign="middle" title="This is a panel"> <Button label="This is a button"/> ...

Java profiling - How reliable are the values it gives?

I am working on a simple text markup Java Library which should be, amongst other requirements, fast. For that purpose, I did some profiling, but the results give me worse numbers that are then measured when running in non-profile mode. So my question is - how much reliable is the profiling? Does that give just an informational ratio of...

Why are my <pre> and <code> tags reading the markup instead of producing code snipets??

I'm working on this resource page for Churches who want to assist my organization (CURE International) in the Haiti earthquake relief effort: http://blog.helpcurenow.org/test/mockups/jan2010/jan2010_haiti_church_resources.html The trouble I'm having is that under step 4 you'll see I've created banner ads and I'm trying to produce code s...

Importance of valid markup for SEO?

I know this question has been asked several times. But the answers seem to vary: some say its important for search engines, others say the SEO improvement is negligible. Can anyone please explain to me if it is worth the time to validate html, from an SEO perspective? In other words, if a company with an existing site were to hire a...

Language for plain text documentation

Hi, I think about storing project documentation in plain text format. The primary reasons/requirements are: easy for source controls systems to manage and track versions; simple to edit (any text editor); REDUNDANT - no additional software required for preparing the document (not generating the formatted result); can be formatted to H...

Parsing Wiki markup in Javascript using regex

Hi folks, I'm attempting to parse some Wiki-style markup using the Javascript Creole Wiki Markup Parser as found here. I'm attempting to extend the parser to parse div tags like so: Markup: << any_content_here << HTML: <div class="left">content</div> Markup: >> any_content_here >> HTML: <div class="right">content</div> Markup: ^^ an...

Integrate MarkItUp Rich Text Editor Preview with ASP.NET MVC App

Update I have have this up and working on my site. http://rsolberg.com/ViewBlog/21 I'm currently testing out the MarkItUp rich text editor in a MVC app, and everything is working great with the exception of the preview. In the settings (set.js), there is a previewParserPath property ("path to your BBCode parser"). I'm not exactly s...

How can HTML5 "replace" Flash?

A topic of debate that's seen a resurgence since the unveiling of the iPad is the issue of Flash versus HTML5. There are those that suggest that HTML5 will one day supplant/replace Adobe Flash. I do not develop software that runs in a browser, so my (limited) understanding is: HTML is a pure-text markup language that is delivered ove...

What mark up language is there for Mac Os developers?

So Adobe gives GIVES US mxml FOR AIR ( Flash ) design/development (cross platform, ActionScript) Microsoft gives us XAML for .Net design/development (Windows, Silverlight, C# + VB+ F# +...) What mark up language gives us Apple for design/development of our Mac native apps?!? ...

Change \parskip only inside enumerate & itemize environment

Is there any way that I can change \parskip to a different value inside certain environments, namely enumerate and itemize. I want to have space between paragraphs (\setlength{\parskip}{1em plus 1pt minus 1pt}), but not inside itemize or enumerate. ...

Help needed to align controls in a webpage

I’m not too familiar with webpage design and am having a problem. I have the following datalist which is displayed ok but it is the section near the bottom that I am having with. I want the Hyperlink image to be on the same line as the “Details” text. Unfortunately the text appears below the Hyperlink control. Is there an easy fix to get...

Is there any way to easily link a file in RDoc?

I want to link to a documentation of a file in RDoc. but the only way I could do is with the following markup: configuration.rb[link:files/configuration_rb.html] I would like to do it in a better way, something like this: <file>configuration.rb</file> Is there any existing markup rule to do this? EDIT: of course I've tried without...

Dealing with ASP.NET MVC "tag soup"

I was working on an ASP.NET MVC template today, and after staring at all those fluorescent yellow % tags for long enough, I basically decided I had had enough, so I painstakingly modified my ascx file to look like this: <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% if (Model == null) { ...

Editing markup of large controls/pages in Visual Studio 2008 pegs one core of CPU

When editing a markup file (javascript mixed with html and ASP.NET tags) of several hundred lines in Visual Studio 2008, the devenv process seems to lock up one core of my CPU. The excessive processing only occurs while I am typing, so it is obvious that my code is being parsed and analyzed. This occurs even when I am editing some javasc...

Correct way for custom HTML attributes

I am writing custom form validation javascript library and I am thinking about correct markup syntax. Let's say I have an input that requires number between 1 000 and 10 000. So far, I came up with something like this: <input class='validate required number' min='1000' max='10000' /> Is this correct way to do it? I have two problems ...

Automatic text marking by regular expressions. Newlines problem.

Hello, i'm having some troubles with regular expressions in ruby. I need to categorize some files that have the first line followed by two newlines, like in this example: GIOVIANA Si scrivono miliardi di poesie sulla terra ma in Giove è ben diverso. Neppure una se ne scrive. E certo la scienza dei gioviani è altra cosa. Che cosa sia ...