1. Google Sitemaps

    Date: 01/01/70 (Webmaster View)    Keywords: xml, web, google

    Google Sitemaps is a new experiment by Google. Web site owners can place an xml-formatted sitemap on their webserver and notify Google.

    By placing a Sitemap-formatted file on your webserver, you enable our crawlers to find out what pages are present and which have recently changed, and to crawl your site accordingly.

    My Sitemaps page will show information about downloading and processing of your sitemap by Google.

    Google also offer Sitemap Generator, an open source client in Python to create sitemaps. Sitemap Generator can create sitemaps from URL lists, webserver directories, or from access logs and notify Google.

    Related:

    Comments

    Source: http://www.webmasterview.com/search_engines/google_sitemaps

  2. Google Sitemap: Movable Type Template

    Date: 01/01/70 (Webmaster View)    Keywords: xml, web, google

    Create a new index template with the following code: <$MTEntryPermalink$> <$MTEntryModifiedDate format="%Y-%m-%d"$> .

    Screenshot of creating new Movable Type template

    Save and build the file.

    The above code creates a Google sitemap file containing individual entry links. If you want category archives links and date-based archives links you can add them easily using MT Template tags. Your sitemap file may not be larger than 10MB.

    Now you can submit your sitemap to Google through your Sitemaps account or using an HTTP request to the following URL: http://www.google.com/webmasters/sitemaps/ping?sitemap=http://url_of_your_/sitemap.xml

    There are two more tags you can put inside : changefreq (how frequently the content is likely to change) and priority (priority of the page relative to other pages on the site).

    Example:
    daily
    0.3.

    Related:

    Comments

    Source: http://www.webmasterview.com/markup/google_sitemap_movable_type_template

  3. Dynamic Subdomain Generation

    Date: 06/04/05 (Apache)    Keywords: css, xml, web, apache

    I've been looking around, trying to find information about how I should go about setting up a system for dynamic subdomain generation. Here's the way I currently have to create a new subdomain:

    1. Add the Virtual Host to httpd.conf
    2. Request that the subdomain be added to my Web host's DNS (I'm using a VDS)
    3. Wait for the changes to propagate
    4. Hope that what I asked for is what I really wanted
    5. GOTO STEP 1 As Needed
    I feel that I should be able to create subdomains (img.cparker15.com, xml.cparker15.com, css.cparker15.com, dtd.cparker15.com, etc.) on the fly. Is there a way to accomplish this with Apache and/or an Apache module?

    I've heard things about mod_rewrite, but I don't know where to begin, if mod_rewrite is even a viable solution.

    Source: http://www.livejournal.com/community/apache/20897.html

  4. Easiest problem evar.

    Date: 06/09/05 (PHP Community)    Keywords: php, xml

    So, I'm writing this PHP script, and I've got an array named $filesArr full of a random list of files.

    I can not for the life of me make $listOfFilesInOrder (or whatever) have four entries from $filesArr, then logo.jpg, then four more from $filesArr, then logo.jpg and so on, until the end of $filesArr, then there needs to be one last logo.jpg at the end.

    The final goal is to get it into an XML file (with stuff before and after that's not dynamic) that looks like:




    // which will be logo.jpg


    ... and so on, with, of course, logo.jpg being every fourth one, and the last one when the list runs out.

    I've tried this three different not-f*cking-working ways and I'm just frustrated and tired. Should I just scrap this logical stuff and put it all in a big recursive foreach() loop or something? I'm worried about optimization, 'cause this script gets called first thing when the site gets hit.

    Hell, if I can just get someone to explain the damn logic, that would help. I'm the world's most lame coder, having a lame problem, with a lame language. It's a lame shame.

    If it helps, the project is a slideshow thing for this client.

    I've got a Flash slideshow-type application, built with half-stolen-functions-half-written-actionscript. I can't dynamically get a list of files to pick from, 'cause I just don't think AS does that. So, I figure to get the list from an external XML file.

    But, then, I was thinking, why not make that XML file dynamically generated so that I don't have to edit this guy's site every time he wants to add pictures. He can just drop a picture in the directory, and the next time someone hits the site, it'll be added to the rotation. But, evidentally, you can't do that with AS either, (or I can't figure out how) so I'm putting this PHP script together (for the app to call) to get a list of all the files, randomize it, put them into order (above), then write the whole thing to an XML file for the Flash app to use.

    The workhorse part of the flash app is done. I'm gonna loadMovie it into the site framework part, which won't take a second to put together. The hold up is my inability to make PHP do a simple f*cking task in a logical way. If I can get this script WORKING, then I can spend only a few more hours, put this thing up, and pick up my check quick-as-a-bunny.

    Obviously the hole in this solution to the problem is the fact that the script runs every time someone hits the page. I'm open to suggestions on how to solve that little conundrum. Should I just include it as a tool and have this guy run it whenever he updates? That would solve the optimization problem, but then it wouldn't be different for each user. Maybe set up a cron job to do the change once a day or something.

    Source: http://www.livejournal.com/community/php/305274.html

  5. Solving WordPress 1.5.1.2 Trackback and Pingback Sending Problems

    Date: 06/13/05 (Java Web)    Keywords: php, xml

    I was unable to send trackbacks and pingbacks after I tested with WordPress 1.5.1.2. I found the solution yesterday. I had too many XMLRPC Ping servers on my list and the php process was timing out while still pinging to them and before it could execute the trackback/pingbacks associated with the post. The obvious solution [...]

    Source: http://blog.taragana.com/index.php/archive/solving-wordpress-1512-trackback-and-pingback-sending-problems/

  6. Hello

    Date: 06/16/05 (PHP Community)    Keywords: php, mysql, software, xml, sql, java, web

    Hello, I’m a second year Computer Science student at Cal Poly, SLO. With no open source or real world experience however I'm really eager to get involved in the open source community and start help developing software. Does any one have any suggestions for a newb. I would like to work on development of web applications preferably using PHP, MySQL, XML and using Asynchronous JavaScript and XML (Ajax). However I am a beginner in all of these languages.

    - What would be some good starting points for me? (Communities, progjects, work)
    - Being that I'm a beginner how do I go about finding simple tasks/projects to start out with?
    - Live Journal looks interesting to me but I have my heart set on learning PHP not perl. Is this dumb? Should I not be focused on the language but rather the project?


    Thanks in advance for any advice you have for a newb.

    Chris Smeder
    http://www.livejournal.com/users/digitalunltd/

    Source: http://www.livejournal.com/community/php/308373.html

  7. 8.01

    Date: 06/16/05 (Opera Browser)    Keywords: xml, java, security

    After weeks of delays, version 8.01 has finally been released.

    It's worth getting for the following reasons (there are, of course, many others):

    • It contains several security fixes.
    • It finally adds enough support for XmlHttpRequest such that LiveJournal's nifty javascript comment handling stuff works.
    p.s. if you're going to Opera.com anyway, use this link ← only 217 more hits to go :P

    Source: http://www.livejournal.com/community/opera_browser/35583.html

  8. Using PHP to query an XML document

    Date: 06/25/05 (PHP Community)    Keywords: xml, database, sql

    Okay, the subject's kind of vague, but here is what I need to do:

    Right now, the Perl programmers are using a perl script to do a database dump of multiple tables into XML format, and Im using cURL to retrieve that XML.

    Now here is the problem, for some reason, they refuse to handle the proper SQL selections for what I need, so basically, I need to correlate the data in the different nodes (tables) to each other.

    For instance, I have one node that contains the foreign key of another node, which then holds the foreign key of another node.

    Ill give you a good example of what I need to do:

    machine_user_map contains the package_service_id.
    I then need to grab the package_id from package where the package_id in package_service is the same as the package_id in package.
    Then, I need to grab the package name from package.

    I've been using XPath so far, but there is no way to do multiple select-type commands with XPath like there is in SQL.

    Does anyone have a good solution for handling this sort of thing?

    Thanks in advance :)

    Source: http://www.livejournal.com/community/php/312736.html

  9. Some background help with PHP + API, SOAP, XML

    Date: 06/27/05 (PHP Community)    Keywords: php, mysql, xml, sql

    I am a novice PHP scripter. I have done most of my work with PHP and MySQL, and PHP alone, but now a client is asking me to work with his API and SOAP. I am also a XML beginner.

    I admit, this stuff sounds a little scary. I was wondering if working with his API will be (shoulkd be) as easy as working with PHP's MySQL functions? Am I making the right analogy? I see PHP has some XML functions, too. When the client says I will "parse the XML" and pull the info out of it, will I be searching it for a string/pattern?

    I am a bit clueless and trying to do some research before I talk to him again. If you guys have any sites that you recommend for PHP use with API, SOAP and XML (or even a book), I would appreciate it the info.

    Source: http://www.livejournal.com/community/php/312940.html

  10. XML processing

    Date: 07/01/05 (PHP Community)    Keywords: php, xml, database

    Hi everyone, I am having some problems processing an XML document with PHP.

    I know the XML doc is well formed and valid, I would post it but I cant seem to figure out how to post XML without it being processed. The structure of the document is as follows.

    updates
         franchise
              CRH
                   SN
                   FID
              CRH
              CRH
                   SN
                   FID
              CRH
              CRH
                   SN
                   FID
              CRH
         franchise
    updates
    


    What I want, is to extract each CRH record with its SN and FID so that I can insert it into a database. I have been trying to use the DOM XML modules for PHP but the results I get are not what I expect. The documentation is a little sparse and I just learning XML so I was hoping you all might be able to help me out. When I extract 'franchise' I would expect that I would get a multi dimensional array from which I can pull the records. I dont seem to be getting that.

    Any help on the correct procedures for this would be appreciated.

    Source: http://www.livejournal.com/community/php/313981.html

  11. PHP XMLRPC Remote Code Execution Vulnerability affecting Popular Blogging and CMS Platforms like WordPress 1.5.1.2 (and lower), PostNuke, Drupal, b2evolution TikiWiki etc.

    Date: 07/05/05 (Java Web)    Keywords: php, xml, web

    PHPXMLRPC aka XML-RPC For PHP is a PHP implementation of the XML-RPC web RPC protocol, and was originally developed by Edd Dumbill of Useful Information Company. As of the 1.0 stable release, the project has been opened to wider involvement and moved to SourceForge. PHPXMLRPC is used in a large number of popular web applications [...]

    Source: http://blog.taragana.com/index.php/archive/php-xmlrpc-remote-code-execution-vulnerability-affecting-popular-blogging-and-cms-platforms-like-wordpress-1512-and-lower-postnuke-drupal-b2evolution-tikiwiki-etc/

  12. From Google's JS

    Date: 07/07/05 (Code WTF)    Keywords: xml, microsoft

    function _noActiveX()
    {
     if (!_ua('msie') || !document.all || _ua('opera'))
     {
      return false;
     }
     var s = false;
     eval('try { new ActiveXObject("Microsoft.XMLDOM"); }'+'catch (e) { s = true; }');
     return s;
    }

    Source: http://www.livejournal.com/community/code_wtf/10664.html

  13. W3C proposes XML identifiers

    Date: 07/13/05 (Web Technology)    Keywords: xml

    Standards body says a uniform way of identifying elements within documents will make the work of XML authors easier.

    Source: http://news.zdnet.com/W3C+proposes+XML+identifiers/2100-9588_22-5785604.html?part=rss&tag=feed&subj=zdnn

  14. Programming

    Date: 07/15/05 (Computer Geeks)    Keywords: php, css, html, xml, sql, java

    I'm looking to learn some computer languages and programs and I have this simple list here:
    • Java
    • Java Script
    • Perl
    • C
    • C+
    • C++
    • PHP
    • SQL
    • VBasic
    • CSS
    • HTML
    • XML
    • Adobe Photoshop
    • Adobe Illustrator

    Am I missing anything?

    Source: http://www.livejournal.com/community/computergeeks/726141.html

  15. Ugh. Exam S.O.S.

    Date: 07/20/05 (Computer Geeks)    Keywords: xml, web

    I apologize in advance is this isn't allowed here...not real sure where to post about it, and if you can think of somewhere better, please let me know.

    This is related to Office 2003, more specifically Excel, and even more specifically, the certification test at Expert level provided by Certiport.

    I took the exam today, and found errors. Two of them that I'm sure of. The exam administrator went back and saw that they were there.

    The errors were like this:

    The first one was basicialy "Use the data in these cells and create a list". Okay, I know how to do that. Highlight the cells/columns whatever, and go up to Data, List, Create List. Problem here was....there was no List option under Data. I hope I'm not being too vague.

    The second problem I ran into involved XML. I was asked to import XML maps and map XML fields to certain cells, yadda yadda. Went up to Data again in the menu, and there was no XML option. At a loss again as to what to do. Task pane didn't work. I had no idea what to do.

    The test administrator called Certiport, and Certiport basically told him, "Yeah those are some of our hardest questions so obviously you read them wrong or there's another way to go about answering the problem."

    Uh...yeah. We were told to file a complaint on their web site, which of course, we'll do. We paid $75 for the test.

    I should mention that my boyfriend is a Master Instructor for Office....he's at a loss, too.

    I guess my questions are these...

    • Has anyone here taken this exam or had a problem like this with any other MS cert exam?
    • In either of the situations I laid out up there, do you know of a way to perform either of those tasks in a way other than the standard menu way? Again, I hope I'm not being too vage.


    I appreciate the help in advance, and if this should be posted somewhere else, please let me know!
  16. Source: http://www.livejournal.com/community/computergeeks/729441.html

  17. web-dev help needed.

    Date: 07/28/05 (Web Development)    Keywords: css, xml, java, web










    So I'm working on an internal Sharepoint site portfolio. The type of usability that I had in mind is that someone can upload a project with text entries for the objective, what they learned, and related links.

    Also, for a user to be able to (and I may be dreaming):


    • upload thumbnails of their screenshots.
    • how to universally alter a navigational dropdown so if you add a link, you don't have to individually alter each webpage (can this be done without frames?).
    • to deface the normal look of sharepoint.


    I need someone to explain to me the basics, though. I'm a web designer and not a developer, and my skills are extremely limited. For example, I don't know what can be put in CSS, whether it's just fonts and margins, or whether you can put automated code that would auto-update the links in a dropdown universally.

    I also don't necessarily know when I should use Java or XML, etc... Please don't be afraid to dumb it down. I need refreshers on almost everything.

    Any help that you could give me in the form of explanations or links would be greatly appreciated.

    Questions:

    • What is the correct procedure for making this type of usability?
    • Is it possible to integrate a thumbnail uploader into a sharepoint site? Would you have to use something other than sharepoint's engine?
    • How customizable are the graphics in a Sharepoint site if you're not dealing with site definitions?
    • Other helpful info:


    Thank you for all your help!
  18. Source: http://www.livejournal.com/community/webdev/226739.html

  19. Programming (part two)

    Date: 07/31/05 (Computer Geeks)    Keywords: php, programming, software, css, html, xml, database, asp, sql, java, security, web

    A few weeks ago, I asked about programming languages and which I should learn, and your reaction had me thinking that I could have offered more info about what I hoped to do with computers. My request was so vague that I can see why you found it difficult to reply. Perhaps this time I'll do better.

    To make things easier, I'm providing a list of what I want to do, and I ask you if you know what languages or applications I should consider in order to fulfill my technological goals.

    I'd like to:

    1. build web pages
    2. provide internet security for large & small clients
    3. make computer games
    4. build my own OS from scratch (a big task, I know)
    5. create, edit, download, and manipulate multi-media images and files
    6. develop application software
    7. build and manage my own server
    8. develop databases
    9. get a general feel for everything else, in case I ever need it


    So my current list of stuff I wish to learn now includes:
    • Java
    • Java Script
    • Perl
    • C, C+, & C++
    • PHP
    • SQL
    • CSS
    • HTML
    • XML
    • Adobe Photoshop
    • Adobe Illustrator
    • Flash & Dreamweaver
    • .Net (VB.net, ASP.net, C#)
    • CGI

    If you know anything about the above, feel free to post:

    What are each of the above used for? How did it come out? Are any of them similar or used for similar tasks? Etc., etc., etc.

    Finally, I was told to learn some Assembly language, but unless I am mistaken, I think I learned that already. If someone could give me a rundown on what it is, I could be sure if its what I think it is. I think I learned 8086 in my day (came with a card, too), so all I have to do is review it I think.

    Your help and suggestions are welcome and I thank you in advance for your time.

    Source: http://www.livejournal.com/community/computergeeks/740093.html

  20. Cheat Sheets

    Date: 08/05/05 (Web Development)    Keywords: php, mysql, css, xml, sql, java

    ILoveJackDaniels.com has some really great cheat sheets that you may find handy.



    He just added some javascript cheats which includes XMLHTTPRequest cheats, function cheats, etc.

    http://www.ilovejackdaniels.com/cheat-sheets/

    He has Javascript cheats, PHP cheats, RGB Hex Color chart, mySQL, CSS, mod_rewrite, regular expressions and others.

    x-posted to '[info]'itprofessionals.

    Source: http://www.livejournal.com/community/webdev/231417.html

  21. Cheat Sheets

    Date: 08/05/05 (IT Professionals)    Keywords: php, mysql, css, xml, sql, java, web

    ILoveJackDaniels.com has some really great cheat sheets that you may find handy.



    He just added some javascript cheats which includes XMLHTTPRequest cheats, function cheats, etc.

    http://www.ilovejackdaniels.com/cheat-sheets/

    He has Javascript cheats, PHP cheats, RGB Hex Color chart, mySQL, CSS, mod_rewrite, regular expressions and others.

    x-posted to '[info]'webdev.

    ps. Are any of you from the Bay Area?

    Source: http://www.livejournal.com/community/itprofessionals/16669.html

  22. SetWindowsHookEx() in a Windows Service?

    Date: 08/11/05 (C Sharp)    Keywords: programming, software, xml, security, web, google

    Hello all. First time posting -- I'm an executive/part owner of a small, 30-40 employee software development company in the US. Can't get any more specific, due to LJ drama that occurred in the past, from which I learned that my constant insistence upon plausible deniability is never a bad thing.

    Anyway, all of our current contracts are in .NET, from winforms applications, to windows services, to webservices, to web applications. We write in C#.NET and VB.NET depending on the contract, application, and developer. We've been working with .NET for the past 2-3 years.

    I don't do as much programming with my company as I did when I first started there as Lead Developer; a good deal of my responsibilities have changed to software design/architecture, scheduling, project management, and having my time wasted by as many meetings as possible, at the most inconvenient times.

    So perhaps these latest developments will lend an excuse to the following ignorance. :)

    I am writing an application for myself, completely unrelated to my company, in my "free time." It has a fairly eccentric variety of functionality, all of which is related in a certain way, but the functionality with which this post concerns itself is keypress logging.

    I've written a class that uses the SetWindowsHookEx() WinAPI call to install a hook for keyboard events (using WH_KEYBOARD_LL). It sets up the hook, which simply raises an event (passing the keypress data along) before giving the keypress back to the system (which continues down the chain of installed hooks). I've written a parent class which attaches a method to the event that takes the useful information from the keypress data and stores it in a queue. The remainder of this parent class provides access to the queue, functionality to clear it, etc. The class that implements SetWindowsHookEx() is in a DLL (I wrote it as part of a separate application back when I was more comfortable with VB.NET, while the current project is in C#, thus the DLL), and the parent class (in C#) imports this DLL.

    The class performs flawlessly in the Windows Forms application I wrote to test all of the classes destined to be part of the final solution. It properly logs all of the keypresses in its queue, its methods provide the proper access to the queue, and the test application could write the keypresses to a file, store them in an XML object, or whatever needed to happen. I was pleased, since the whole mess only took about 2 hours to develop and test.

    However, the final application that will be doing the keylogging is a Windows Service. Now that I finished developing and testing all the classes I needed to use in the final application, I've begun building the service. I've got the service properly installing, starting, and logging to the system's event log, so I know the service itself is working. However, the keylogging class is not working. No exceptions are thrown, and the WinAPI call (from user32.dll) returns no error codes. However, the queue count remains at 0, and no keys are logged at all.

    I've simply dragged the class from the test Winforms application into the Windows Service application, and used it in the same way. While keypresses were logged efforltessly in the Winforms application, not a single one is being logged in the Windows Service.

    I have tried pretty much everything I can think of, from checking the "Allow this service to interact with the desktop" checkbox, to changing the account running the service (currently the Local System account). However, as I said above, programming is not a day-to-day thing for me anymore, so I am most likely ignorant of something here.

    I've read many accounts via Google of people successfully using SetWindowsHookEx() in a Windows Service, so I know it can be done. What gives? Is this a permissions/security issue, and if so, why are no errors/exceptions being thrown? Do I need to register the DLL containing the class that calls SetWindowsHookEx() in the GAC for any reason?

    Any information or help will be greatly appreciated. Thanks in advance...!

    Source: http://www.livejournal.com/community/csharp/32613.html

Previous page  ||  Next page


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home