Jump to content

boen_robot

Members
  • Posts

    8,493
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by boen_robot

  1. Why is it so hard for newbies to just TRY to look at the XPath expressions and adjust them properly. Oh... anyway...Replace <td><xsl:value-of select = "name"/></td> With <td><xsl:variable name="LINKS" value="links"><a href="{$LINKS}" target="blank"><xsl:value-of select="name" /></a></td> Or <td><a target="_blank"><xsl:attribute name="href"><xsl:value-of select="links" /></xsl:attribute></a></td> By the way, the name of the variable (LINKS) could also be anything you like. The reason why in example it's the same as value, but with capital letters is that it demonstrates the fact that a variable is accesed by it's name.
  2. If you look at the host's offers in detail, you'll see the other name for bandwidth is "traffic". So, in other words: bandwidth is the amount of data which the host lets you download.For example, if you have html files and maybe some small graphics with total size of 1MB and you know you have 20 users who browse all of them each day, this means... 20users*1MB*30days=600MB of montly bandwidth. If the host says you have 15MB of bandwidth for a day, this practically makes your pages useless for the last 5 people. I mean, look at the difference for yourself. If you waste your bandwidth, your site becomes inaccesable (turned off if you'd like) until the period (in our case: the day, but it's most often the month) expries.When the bandwidth is unlimited, this means you don't have to calculate how much data would be downloaded. The host will let all users browse the page all the time, scince it doesn't have such restriction.
  3. Another simmilar site, provided kindly by Chocolate570:http://findmyhosting.com/I guess we would also write hosting portals/resellers/comparers/whatever here as well .
  4. I was thinking about it, but technically speaking, it's not a critical feature you should base your host choise on. Not to mention that not every free host has any emails. Also, if you add numbers, there will also arise the question for the space of the mail and other mail features. It's going into a different area.But add your own details if you have some of course. More is better when it comes to hosts . It's just that I wanted the topic to cover only things that one should really consider when making a deision for the host, limit him/herself to fewer hosts that suit the needs and look in detail their offers.By the way, the hosts you read in my first posts were from the General and Suggestion forums. Now I'll also write down some I found in the PHP forum:Name: siteburg.comPrice: FreeServer side scripting(s)/database(s): PHP, CGI, Perl/MySQLSpace: 100MBBandwidth: 10GBAds: YesWeb adress: subdomainAdditional Comments: It's not that much, but it's also not bad for a free offer. Name: AvagaPrice: $3.99/2 Years; $7.19/2 Years; $19.99/2 Years;Server side scripting(s)/database(s): No; PHP, CGI/No; MySQLSpace: 200MB; 500MB; 1,000MB;Bandwidth: 25GB; 50GB; 100GB;Ads: NoWeb adress: domainAdditional Comments: The paid version of siteburg.com. Not very clear. Of what I see, it seems the free offer has advantages. Haha.Name: RoxrPrice: FreeServer side scripting(s)/database(s): PHP/5 MySQL databasesSpace: 150MBBandwidth: 15,360MBAds: YesWeb adress: subdomainAdditional Comments: Interesting offer, but very plain. I was hoping for more details.Name: cjb.ccPrice: Free; $3/MonthServer side scripting(s)/database(s): PHP/NoSpace: 50MB; 250MB;Bandwidth: 1GB; 5GBAds: Yes; NoWeb adress: subdomainAdditional Comments: Again, very plain. In fact- waay too plain.
  5. Due to the large amount of topics about different hosting plans, I decided to write them all down here for you to look as a reference. I hope that the moderators will lock future topics about hosts and redirect them to this topic.Note: Please also check the posts below this one. They (may) also contain other hosts that might better serve your needs.If you would like to add a host that is not listed here, please follow this template: Or for a domain registar: Comparrisons and comments are allowed, as long as you have more to say then "Host X sucks. Host Y rules!" for example.Please note that the order of the sites in my post is the one in which I have fond them. PM me (or the moderators?) if you find any errors in the host's descriptions below.And here goes...Hosts:Name: DeluXe HostPrice: FreeServer side scripting(s)/database(s): PHP/MySQLSpace: 100MBBandwidth: 300GBAds: NoWeb adress: web directoryAdditional Comments: There are many restrictions about what site (content) is allowed. The most important one is that only european languages are allowed. Read the FAQ for details. Name: iNeedHosting.netPrice: $3.99/Month; $6.99/Month; $11.99/Month; $20.99/Month;Server side scripting(s)/database(s): PHP, CGI, Perl/5 MySQL databasesSpace: 500MB; 1000MB; 2000MB; 2000MB;Bandwidth: 10GB; 20GB; 40GB; 50GB;Ads: NoWeb adress: domain with up to 25/50/100 subdomainsAdditional Comments: There is also an option for a custom plan with a custom price.Name: iNeedHosting.co.ukPrice: £6.49/Month; £14.95/Month; £98.95/Month;Server side scripting(s)/database(s): PHP, CGI, Perl/MySQLSpace: 200MB; 500MB; 1000MB;Bandwidth: UnlimitedAds: NoWeb adress: domainAdditional Comments: It might seem as the above, but it's actually quite different. It looks kind'a unprofessional in my opinion, but still, detailed enough offers.Name: SiteFlip.comPrice: $11.88/Year; $59.40/Year; $155.40/Year;Server side scripting(s)/database(s): PHP, Perl/Unlimited MySQL databasesSpace: 100MB; 500MB; 2,000MB;Bandwidth: 3GB; 8GB; 15GB;Ads: NoWeb adress: domain with no/5/10 subdomainsAdditional Comments: There is a VERY detailed explanation of the host's features on the site. I personally think that's very attractive.Name: Mind FusionPrice: Free; $4.99/Month; $9.95/Month; Server side scripting(s)/database(s): PHP, CGI, Perl/5; 15; 50 MySQL databasesSpace: (1)50MB (the picture is not synced with the text!); 250MB; 500MB;Bandwidth: 1GB; 2GB; 3GB;Ads: NoWeb adress: subdomain(s)... I'm not sure here actuallyAdditional Comments: Even in this short description you noticed there are things which are not very clear. I would stay away from this site's payed offers if I were you.Name: Crystal TechPrice: Too many different offers to describe. They vary from $2.95 to $399.95Server side scripting(s)/database(s): PHP, CGI, Perl, ASP(.NET), Cold Fusion/MySQL, MSSQL, ODBCSpace: varies from 200MB to whole hard drivesBandwidth: from 5GB to 1000GBAds: NoWeb adress: domainAdditional Comments: It has many options, among which are not so frequently found things such as Cold Fusion and ODBC support. All offers are well detailed. For that at least, it definetly worts the attention.Name: GeoCitiesPrice: Free; $4.95/Month; $8.95/Month;Server side scripting(s)/database(s): No; PHP, Perl/MySQLSpace: 15MB; 500MB; 2GB;Bandwidth: 3GB; 25GB; 100GB;Ads: Yes; NoWeb adress: web directory; domain; domain with up to 5 subdomains;Additional Comments: The free hosting plan sucks. As you can see for yourself, the other free hosts have better plans and with no ads even.Name: RipwayPrice: FreeServer side scripting(s)/database(s): PHP/NoSpace: from 30MB to 400MB (WTF?)Bandwidth: 15MB/dayAds: NoWeb adress: web directory... I thinkAdditional Comments: Sounds good if you can overcome the low bandwidth.Name: Ripside InteractivePrice: $8.50/Month ($4.25 first month); $14.50/Month ($7.25 first month); $24.00/Month ($12.00 first month); $43.00/Month ($21.50 first month); $56.00/Month ($28.00 first month);Server side scripting(s)/database(s): PHP, CGI/3 (with the first two); unlimited (the other offers) MySQL databasesSpace: 250MB; 500MB; 1000MB; 2000MB; 4000MB;Bandwidth: 10MB; 25MB; 50MB; 100MB; 250MB;Ads: NoWeb adress: domainAdditional Comments: That's the host for which Ripway refers for "if you want more" or something. Perhaps they are owned by the same people.Name: BrinksterPrice: Free; $4.95/3 Months; $7.95/3 Months; $17.95/3 Months;;Server side scripting(s)/database(s): ASP(.NET); PHP, ASP(.NET)/MySQL, MS AccesSpace:15MB; 1500MB; 3000MB; 5000MB;Bandwidth: 500MB; 35GB; 75GB; 175GB;Ads: NoWeb adress: Subdomain (I think); domainAdditional Comments: The prices actually vary if you select to pay for a different period. There is both Linux and Windows hosting similarrly to Crystal Tech.Name: FreewebsPrice: FreeServer side scripting(s)/database(s): NoSpace: 40MBBandwidth: 500MBAds: NoWeb adress: web directoryAdditional Comments: Probably the most famous host theese days, but I personally don't like it. Kind'a weird that they say to support SSIs but don't have server side scripting support.Domain name registars (without hosting):Name: dot.tkPrice: Free;Web adress: web redirecterAds: YesAdditional Comments: I don't quite like it, but if you're looking for the shortest free web redirecter possible, that's the way to go.Name: freedns.afraid.orgPrice: FreeAds: NoWeb adress: (Sub)domain or web redirecterAdditional Comments: It has it's features very detailed, though I don't see much to be described in DNS services.Name: freedomain.co.nrPrice: FreeAds: NoWeb adress: web redirecterAdditional Comments: That's the second time I ever see a free DNS after the tk thing. Kind'a weird. I don't know anything else about it.
  6. boen_robot

    Increment

    XSLT does have the generate-id() function thoguh. However, it's actually used like a kind of a temporary variable, rather then a identifier. So if you want to generate something to be displayed, it's truly better so generate it with ASP.There's also one other way though. By using the position() function. However, the "id" will not be preserved if the position is changed.
  7. Go into each page and select File>Save As (for IE)?Anyway, you shouldn't do that for the sake of W3Schools.
  8. You are practically looking for the holy grail. The only thing missing is the requrement of a third column .In order to get the left column to the left, you obviously need float:left, but for the height.. That's much bigger issue.See this layout and try to adjust it, so it has only 2 columns.
  9. What version of dreamwaver are you using? I use 8 and it's not doing that. When I write "t" it suggests table and other tags that start with "t" so I can either continue typing for a more detailed suggestion or select from the list (in short: auto complete). And that's it. The ">" is automatically written, but it's left to me to decide the things inside. There are no <tr>s and <td>s created. When I type "</" it automatically writes the closing </table> tag, unless I have written some other tag after, that needs closing.If you're using MX2004, well... yeah, it sucks.
  10. boen_robot

    XQuery

    Actually, because XQuery is not yet a recommendation, it's not avaiable for any official language yet. It's avaiable as a language for some databases as an expansion to SQL, but that's it.XQuery will be avaiable in XSLT 2.0 so that's when it's true power will be uncovered. Until then, in order to manipulate XML documents,you would need to use XPath inside XSLT or some server side scripting language.
  11. Actually, if you're going to use ASP, it's MUCH better to store different types of data in both SQL and XML depending on their purpose. SQL for catalogue purposes, and XML for all other data (most often- interface data such as the titles for the different links). Using XSLT you can transform the data more... clearly and use ASP only to execute the transformation and manipulate the database.
  12. Much better. This blue rocks . Though I think you could have let the red too, just incase someone else prefers it .
  13. I don't think there's any way to tell if you're showing only the root of the Schema .
  14. Did anyone read my post? Oh, for the love of god:
  15. Actually, I think this is possible with aural CSS2 too .
  16. I personally like blue best, but this particular: No. Why don't you make the other colors gradients too? I think that would be more fair .
  17. What I meant to say is that PHP doesn't have built in XSLT processor. It is avaiable with an extension. See the XSL functions of PHP for details. If anyone knows how to install the extension, please, do tell.
  18. Maybe using some predicates will do the trick? <xsl:template match="/"><xsl:variable name="name">Jane</xsl:variable><xsl:choose><xsl:when test="name=$name"><xsl:for each="Workers/Worker[name=$name]">Yes<br /></xsl:for-each></xsl:when><xsl:otherwise>No</xsl:otherwise></xsl:choose></xsl:template> If I am correct, the conditional will look into every name attribute in the document and compare it with the variable. If there are any matches, it will loop through all workers with the specified name and will output Yes for each one. If there's not any avaiable, there will be only one No.P.S. I haven't tested this.P.S.S. You'll need some DOM that would create the variable with the desired value from a form, if you want to make this application practical. I can't do that script though.
  19. As far as I know, this whole part of the forum is for Suggestions about W3Schools. If you have some kind of "upgrade" for W3Schools or something, you could always present it at least.If you mean an article... well.. W3Schools is about learning the basics, not mastering the languages. There are many materials on the net where you can find "how to" tutorials and everything. W3Schools is about showing you what's all about.
  20. I knew XSLT could write JavaScript and VBScript, but ADO? Really?!?! Isn't ADO part of ASP which is a server side scripting language?Khm... anyway, we have our last problem here. As far as I understood, mona works with PHP. This would complicate the things a bit, scince unlike ASP, PHP doesn't have an XSLT processor .
  21. PHP doesn't have XSLT processor built in as I have stated many times. Unless you find a way to install some kind of extension (see php.net for details on this one), you can't make PHP process the XSLT unless you create your own XSLT processor with PHP itself. I don't know much about PHP, so I can't give you a sample of what I mean.And about the above example I meant for example a database which has a record like <hardware><ram>256mb</ram></hardware> And another record with for example <image><url>www.example.com/pic1.jpg</url><alt>pic1</alt></image> And now let's say we have a PHP file which creates an instanse of a container div for example and catches the data in the <hardware> element. It then displays it and actually shows that the content from the <ram> element is RAM memory. The same is done for the <image> of the current row.Normally, if this was ordinary XML, you would have to transform the data with XSLT and execute it with a server side language. But as said above, PHP doesn't have XSLT support. It does have XML thoguh.This approach is better then to keep each SQL data in it's own record, because it makes the data more structured and expandable. Instead of having another table for the images, you have a single column which contain it. However, this is not always better. Infact, there are not many cases, where this prooves to be usefull.
  22. Perhaps it's the namespace... I recently encountered simmilar thing. Try giving the RSS it's namespaces back. Also, execuse me for my lasiness, but you might want to try "isolating" the problem first. Apply all different changes and removals one by one and see where the problem first arises.
  23. Yes. You must insert the code from this topic in all of your XHTMLs and of course, adjust it properly. That code would display the transformation at the place of the element which has the appropriate ID.
  24. Not with data islands. With XSLT is simpler though. There's the <xsl:sort> element, specialized for this task.
  25. The Web Primer tutorial was written for cases like this. There's a link to it in the middle of the home page. It describes what a web developer needs to know and it practically follows the orders in which one should learn.In short I could say: XHTML, CSS, JavaScript, XML + some server side scripting language of your choise. It might be PHP, ASP, Cold Fusion, etc.The other tutorials are advises for optimizing your work, not for creation of web sites.
×
×
  • Create New...