content

How do I get the _count in my content provider?

What should I do to get my content provider to return the _count column with the count of records? The documentation says it is automatic, but maybe it's only taking about some built-in content provider. Running a query to the database seems not to return it. ...

Virtualization: Do you store web content inside the virtual machines?

In creating virtual web servers (VirtualBox for me), does web content usually go "inside" the virtual machine or is there usually a file server running on bare metal serving files (content) to all the virtual machines? Is there a typical scenario for storing content for virtual servers? ...

Using Git For Community-Oriented Website Content Revision System

I'm working on a Django-based web app in which the community fuels the content on the site, much like a wiki. Content is in the form of HTML, and users have total freedom to fork articles/chapters or make their own modifications to existing ones and add them to the current 'working version'. The maintainer of each article/chapter (the or...

Tool or library for comparing xml files.

I am looking for an XML comparing tool that understands xml. It cannot be a line by line comparision like WinMerge or Beyond Compare. An ideal solution would be one that shows changes similar to the way Word 2007 shows track changes. DeltaXML does this, but does not come with a real GUI 'out of the box' and is $500 per user!: Xamxm...

ASP.NET Setup Project - how to include static files not in VS?

I am working on an ASP.NET MVC web application, and am working on the Web Setup portion. We are using SVN for version control. One of the issues is that the we are currently having is that the web designers modify and add a lot of html, css and js files that end up in the Content folders, but they don't add them to the VS project, so the...

jQuery content slider - multiple boxes

Hey, I am trying to find a jquery content slider that contains say 3 boxes at one time and you can scroll through to reveal more. I have tried the jquery plugin repository and google, I have found ones like the Coda Slider, which I've used. Something along those lines but show three boxes of content at once. I am going to be using it...

WPF - What conditions must be met to use data binding in a custom control's content items?

I'm in the process of making a custom control -- specifically a pie chart. I want the markup to look something like this example: <c:PieChart> <!-- These dependency properties are never set --> <c:Slice Value="{Binding RedCount}" /> <c:Slice Value="{Binding BlueCount}" /> <c:Slice Value="{Binding GreenCount}" /> </c:Pie...

Can't get css property of 'content' in Safari 4

I'm having the hardest time figuring out why Firefox3.1 returns the value of 'content' on a test element, while Safari 4 won't. My sample page is setup like: <style> #asd{ content: 'test'; } </style> <div id="asd"> Bleh </div> And my JS is using getComputedStyle. This works for other properties like "background-color" but not for "c...

Unit Testing Email Content

I'm usually one to say any piece of code no matter what it does, especially if it's runs in a production environment should be tested. I've been wondering, however, if dynamic email content should be an exception. It changes so often and is usually a pain to properly and fully test that I don't know if it's worth it. More often than no...

Extract div content from htmlsource in string (Java)

Hi all, i'm trying to extract the content of an special div-tag(defined by his classname) out of a string that contains html source. I think the regexp-features of Java are not as easy to use as in perl, right? Does anyone did this before and can give me a piece of code? perhaps dom-browsing is a good solution, but i didn't found any tu...

development on SharePoint v.s. development on Lotus Connections

Hello everyone, I am selecting between SharePoint and Lotus Connections, and I want gurus give me some advice. The functions I want to have is, portal/content management/workflow/various ways of communication (IM/audio/video/multi-party conference), better to have personal blog or team blog. Another key issue I want to consider is the ...

How can i track changes in content on a html page after page has loaded

Hi, I'm wracking my brain on this one. After a html document loads in a browser,I want to be able to monitor the page incase any content on it changes for any reason. Is there a Javascript function with which I can track 'what has changed' on the webpage . This should be irrespective of the type of content on the html page I hav...

Download contents of the PHP generated page from another PHP script

I have a PHP script on a server that generates the XML data on the fly, say with Content-Disposition:attachment or with simple echo, doesn't matter. I'll name this file www.something.com/myOwnScript.php On another server, in another PHP script I want to be able to get this file (to avoid "saving file to disk") as a string (using the pat...

how to write a program to generate the current brower's content but "ALL OF THE CONTENT" plus the Window's menu bar and frame/border (including the content even when scrolled down)

I remember in the early days of the web, there were books including the whole browser window's title bar, menu bar, and even the border of the browser, and the content inside of it -- not just the current content in the window, but all the content even when scrolled down). I'd like to be able to do that too... is there a easy way to wr...

Best way to get post info into variables without displaying them in Wordpress

I am writing a Wordpress plugin and need to go through a number of posts, grab the data from them (for the most part title, permalink, and content), and apply processing to them without displaying them on the page. What I've looked at: I've looked at get_posts() for getting the posts, and then getting title via the_title(), content v...

content page class method calling from master page class

I have a public method in my content page class, I want to call this method from master page class Thanks ...

Android: Get highest value in column

I have an URL pointing to content and I need to get highest value contained in one of the columns. Is there any aggregate function that will accomplish that or do I have to do this manually? ...

Downloading the contents of a web directory?

If I have example.com/dir and dir is basically a folder in the example.com server then how can I download the conteents of the folder to my hard drive? ...

SharePoint Server 2k7 / Office 2003 Integration problem (CT prob.)

I have a bit of problem with MOSS (uptodate under 2003 r2) and Office 2003 integration. Customer particularly wants Office 2003. Problem So, when you make "new" document in the document center and document template is triggered and you hit "ok". In here everything is fine. Your doc is read and you hit "save" in Office Word 2003 and t...

Which tools do you use to analyze text?

I'm in need of some inspiration. For a hobby project I am playing with content analysis. I am basically trying to analyze input to match it to a topic map. For example: "The way on Iraq" > History, Middle East "Halloumni" > Food, Middle East "BMW" > Germany, Cars "Obama" > USA "Impala" > USA, Cars "The Berlin Wall" > History, Germany ...