Jump to content
Ketarin forum
shawn

Shawn's SourceForge template

Recommended Posts

hm, it's really normally importing on clean ketarin and windows. I used virtual machine for test it

 

The "row 4 column 30" issue is an invalid quote. Your text editor is replacing the quote character with a left quote or right quote, which is invalid XML.

 

However, SF changed their site so the automatic processing from this template simply won't work this way anymore. I'm working on a replacement, but it's a slow process creating a universal method. Give me some time.

Share this post


Link to post
Share on other sites

The "row 4 column 30" issue is an invalid quote. Your text editor is replacing the quote character with a left quote or right quote, which is invalid XML.

How fix it? I tried use attached template, without editing them, but get error anyway(

Share this post


Link to post
Share on other sites

What language is your operating system?

 

Open the file in notepad and use "save as" then in the "encoding" format select "ANSI". Try that and let me know how it works.

Share this post


Link to post
Share on other sites

What language is your operating system?

Russian

Open the file in notepad and use "save as" then in the "encoding" format select "ANSI". Try that and let me know how it works.

save via notepad++ with convert to ANSI. same error

Share this post


Link to post
Share on other sites

I'm sorry, Uksuso - this is where I have to throw my hands up with an "I have no clue". It *should* be working with an ANSI encoded file with straight quotes. I don't know why, but it's simply misbehaving when it's trying to import the file due to the quotes. I wonder if it's being loaded as a different file encoding? Hmm... Yes, UTF-8...

 

Try the notepad thing again, this time saving the file as UTF-8 encoding.

Share this post


Link to post
Share on other sites
However, SF changed their site so the automatic processing from this template simply won't work this way anymore. I'm working on a replacement, but it's a slow process creating a universal method. Give me some time.

Hey! any worked template? :)

Share this post


Link to post
Share on other sites

If you cannot import a template because of an XML related error message, your XML is invalid. You should probably post your XML so others can tell you what is wrong with it. You can also use any XML validator to validate the XML file you created. There are various things that can go wrong when copying/saving XML manually, but all not Ketarin's fault ;)

Share this post


Link to post
Share on other sites

The app "Nvidia Driver Notebooks 7 x64" and others contain an invalid/corrupted source template. In the next version, Ketarin will skip these faulty apps. Though that means that these will not be updated with a new prototype template.

Share this post


Link to post
Share on other sites

The app "Nvidia Driver Notebooks 7 x64" and others contain an invalid/corrupted source template. In the next version, Ketarin will skip these faulty apps. Though that means that these will not be updated with a new prototype template.

how i can detect broken apps?

Share this post


Link to post
Share on other sites

How get latest files from this: http://sourceforge.n...ext2read/files/ ? can't write distribution, because it changed as version

 

They're using the wrong structure on SF. Sigh.

 

For this application you'll need to find another source for the version information, since there's no guaranteed way of determining what the distribution should be when they build them this way.

Share this post


Link to post
Share on other sites

Use this for AkelPad: "AkelPad%204"

Use this for CoolReader: "CoolReader3"

 

Since they're major-version specific, your app profile will necessarily be major-version specific as well.

Share this post


Link to post
Share on other sites

shawn, Is it possible to use "Download latest release" url to get latest version?

 

Not with 100% reliability. I tried using this method before the current template iteration, but Sourceforge uses browser parsing to identify what the "latest" is for your platform, and it isn't very discerning with whether to provide a source, binary, msi/exe/zip and so on, so on some platforms you can easily end up with a totally random result with each update.

 

Even so, you can use the following regex pattern to obtain the file SF tags as the latest version:

source=files" title="(/[^\:]+)\:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.