Can I Put A Table Into My Post - About xda-developers.com

Hello!
I was wondering. Can I add a "html" table to my forum post? I tried creating a table using HTML format but it just ended up looking like inline HTML. I also tried to use BB Codes
.... but that didn't work either.
Thank you!

It's a really old question but is it possible now to create a table?

I'm afraid there's no way to add tables into posts.
You can create lists, and change indent size etc...so you could probably come up with some kind of pseudo list.

Related

Official Thread for XDA Wiki Migration Helpers

Hey everyone,
Migrating the old wiki to the new software is a big job, and thanks to everyone that is contributing! If you want to contribute and you're not doing so already, send me a PM and I will give you the information you need to help.
This thread shall act as a central place for discussion relating to the migration of the wiki. In the end, we want the wiki to act as an information-rich, well-organized database that XDA users can refer to for information about the things we discuss most here at XDA.
P.S. I'll be keeping an eye out for the most active contributors to the migration and population of the wiki. We will need a couple of Wiki Admins after this process is complete to ensure the smooth running of the new wiki going forward. =D
DaveShaw EDIT
Attached is a wiki syntax converter.
It's in WPF and .Net 4.0 so it might need the latest .Net Framework from MS.
I'll post updates in this thread.
PM me bugs.
I'm in on this and happy to answer any phpWiki / media wiki questions.
I have a tool for converting between the syntax's if anyone's interested.
I'm just adding support for tables and then I will post it up.
I'm also trying to head up some projects and get some standards / policies on the wiki, but the main job is getting stuff over.
If you can try and follow the examples others are doing on there, we'll have a ver nice wiki at the end of it.
The [[HTC Rhodium]] page is what I'm hoping most of the structure will be, but it's a wiki, and anyone can change that.
Dave
Congrats to all the team!
A new Wiki will be very welcome
Willing to help on the Nexus one and general android article. XDA wiki is great !
Yeah I think once the Wiki is done it will look really nice! I've been doing alot of work with the devices.
Posted my wiki syntax converter (with table support) in the first thread.
DaveShaw said:
I'm in on this and happy to answer any phpWiki / media wiki questions.
I have a tool for converting between the syntax's if anyone's interested.
I'm just adding support for tables and then I will post it up.
I'm also trying to head up some projects and get some standards / policies on the wiki, but the main job is getting stuff over.
If you can try and follow the examples others are doing on there, we'll have a ver nice wiki at the end of it.
The [[HTC Rhodium]] page is what I'm hoping most of the structure will be, but it's a wiki, and anyone can change that.
Dave
Click to expand...
Click to collapse
Yeah in porting some pages over I've either noticed the old page has lots of invalid links or the page is just a mess. I agree that we should just work on getting everything over to the new wiki and then later on we can work on cleaning it all up and enforcing some standards.
The phone template is a great start. The phone pages should be named by MANUFACTURER_DEVICE_NAME instead of just the DEVICE_NAME. I've seen some pages that are not named like that or end up being re-directs of some sort to the above syntax.
We need a table class so all the tables can be standardized. I've been using this simple style to create a less ugly table
Code:
{|border="1" cellpadding="3" style="border-collapse: collapse;"
For those who are porting images over, it seems everything from the original wiki is on the new domain however files in the /uploads/ folder from the old wiki should be moved to the proper directory on the new wiki. Can we also allow some other file types in the uploader besides images? PDF, .doc, .zip?
Also it seems some pages are missing from the old wiki? I'm not sure if that is just incorrect syntax on the old wiki or not. Remember to read or post on the discussion pages if you have ideas or questions about a specific page. I've certainty been leaving some notes and questions there.
shortkud said:
Yeah in porting some pages over I've either noticed the old page has lots of invalid links or the page is just a mess. I agree that we should just work on getting everything over to the new wiki and then later on we can work on cleaning it all up and enforcing some standards.
The phone template is a great start. The phone pages should be named by MANUFACTURER_DEVICE_NAME instead of just the DEVICE_NAME. I've seen some pages that are not named like that or end up being re-directs of some sort to the above syntax.
We need a table class so all the tables can be standardized. I've been using this simple style to create a less ugly table
Code:
{|border="1" cellpadding="3" style="border-collapse: collapse;"
For those who are porting images over, it seems everything from the original wiki is on the new domain however files in the /uploads/ folder from the old wiki should be moved to the proper directory on the new wiki. Can we also allow some other file types in the uploader besides images? PDF, .doc, .zip?
Also it seems some pages are missing from the old wiki? I'm not sure if that is just incorrect syntax on the old wiki or not. Remember to read or post on the discussion pages if you have ideas or questions about a specific page. I've certainty been leaving some notes and questions there.
Click to expand...
Click to collapse
I'm naming / moving pages from [[Rhodium]] to [[HTC Rhodium]] and leaving re-directs.
If you see any pages that need deleting, bang the {{delete}} template on them and I'll take a look.
The old wiki had missing pages, if they're not there, then they are probably gone, but you can post some links and I'll take a look.
As for CSS, can you edit the MediaWiki:Common.css page? I doubt it, but I will have a look at the styles and that later, for now I am just sticking the equivalent of <table border="1"> on each table so I can see the rows.
I also know some decent wiki coders, who I'm going to ask to help me with the basics.
Dave
The User Help -> Formatting section of http://www.mediawiki.org/wiki/Help:Contents covers Tables (bottom of page) and such. I've been using the guide quite a bit while porting (migrating) the Raphael section of the wiki.
HTH,
Just been working on some of the android sections, but I noticed that Dave's wiki convertor seems to be dealing with external links wrongly.
Where, for example,
Code:
*[VillainROM 5.5.0 (2010-05-04) | http://www.villainrom.co.uk/viewtopic.php?f=23&t=402] by nprussell
is converted to
Code:
*[[ http://www.villainrom.co.uk/viewtopic.php?f=23&t=402|VillainROM 5.5.0 (2010-05-04) |]] by nprussell
this produces a broken link. However, if it were to output
Code:
*[http://www.villainrom.co.uk/viewtopic.php?f=23&t=402 VillainROM 5.5.0 (2010-05-04)] by nprussell
then it should work fine.
ie. use only one square bracket when link is external to the wiki, and instead of the pipe character between URL and title, a space should be used.
Just an observation. No idea if this is possible, feasible, desirable or even correct for anyone other than me...
EDIT: Hmm. Ignore me for now I think. I did another page and it worked fine... Strange. I'll try and see what the issue is
EDIT2: I also added the
Code:
{{Outdated}}
tag, which can be used at the header of a page to highlight it being outdated. For an example, see http://forum.xda-developers.com/wiki/index.php?title=VillainROM
anon2122 said:
Just been working on some of the android sections, but I noticed that Dave's wiki convertor seems to be dealing with external links wrongly.
Where, for example,
Code:
*[VillainROM 5.5.0 (2010-05-04) | http://www.villainrom.co.uk/viewtopic.php?f=23&t=402] by nprussell
is converted to
Code:
*[[ http://www.villainrom.co.uk/viewtopic.php?f=23&t=402|VillainROM 5.5.0 (2010-05-04) |]] by nprussell
this produces a broken link. However, if it were to output
Code:
*[http://www.villainrom.co.uk/viewtopic.php?f=23&t=402 VillainROM 5.5.0 (2010-05-04)] by nprussell
then it should work fine.
ie. use only one square bracket when link is external to the wiki, and instead of the pipe character between URL and title, a space should be used.
Just an observation. No idea if this is possible, feasible, desirable or even correct for anyone other than me...
EDIT: Hmm. Ignore me for now I think. I did another page and it worked fine... Strange. I'll try and see what the issue is
EDIT2: I also added the
Code:
{{Outdated}}
tag, which can be used at the header of a page to highlight it being outdated. For an example, see http://forum.xda-developers.com/wiki/index.php?title=VillainROM
Click to expand...
Click to collapse
Noticed the new Templates, nice work .
If you can let me know an exact line / snippet that is wrong I'll debug it. (The whole app was a Regex crash course)
It is designed to output the URL's in the format you expect .
Dave
OK. Here's one that doesn't work right.
Code:
*[Andro-Plus 1.1 (2010-02-08) | http://forum.xda-developers.com/showpost.php?p=5570560]
from http://URL to the wiki /index.php?pagename=GSM Hero ROMs
Output is
Code:
*[[ http://forum.xda-developers.com/showpost.php?p=5570560|Andro-Plus 1.1 (2010-02-08) |]]
Expected is
Code:
*[http://forum.xda-developers.com/showpost.php?p=5570560 Andro-Plus 1.1 (2010-02-08)]
I have put these on my talk page on the new wiki, http://forum.xda-developers.com/wiki/index.php?title=User_talk:Anon2122, so you can see the issue.
By using double square brackets, mediawiki is treating it as an internal link, when it should be external. If the string begins "http://", then only one square bracket should be used.
I have no idea why the phpWiki for this example had a trailing pipe within the square brackets but it can be ignored.
The pipe separating the link from the description should also be a space. The first space encountered in the square bracket is treated as the splitting point.
HTH mate,
P
anon2122 said:
OK. Here's one that doesn't work right.
Code:
*[Andro-Plus 1.1 (2010-02-08) | http://forum.xda-developers.com/showpost.php?p=5570560]
from http://URL to the wiki /index.php?pagename=GSM Hero ROMs
Output is
Code:
*[[ http://forum.xda-developers.com/showpost.php?p=5570560|Andro-Plus 1.1 (2010-02-08) |]]
Expected is
Code:
*[http://forum.xda-developers.com/showpost.php?p=5570560 Andro-Plus 1.1 (2010-02-08)]
I have put these on my talk page on the new wiki, http://forum.xda-developers.com/wiki/index.php?title=User_talk:Anon2122, so you can see the issue.
By using double square brackets, mediawiki is treating it as an internal link, when it should be external. If the string begins "http://", then only one square bracket should be used.
I have no idea why the phpWiki for this example had a trailing pipe within the square brackets but it can be ignored.
The pipe separating the link from the description should also be a space. The first space encountered in the square bracket is treated as the splitting point.
HTH mate,
P
Click to expand...
Click to collapse
Thanks I'm just looking at another URL conversion problem at the moment .
Might be the same root cause, phpWiki is very forgiving in allowing shocking markup.
Dave
DaveShaw said:
Thanks I'm just looking at another URL conversion problem at the moment .
Might be the same root cause, phpWiki is very forgiving in allowing shocking markup.
Dave
Click to expand...
Click to collapse
Yeah, seems so. It's no hassle to change them manually, as I've done for most of the hero stuff i can find, but it gives you a RegEx challenge
There should not AFAIK be a pipe at the end of the URL in phpWiki, so I have no idea how that got there
Cheers
anon2122 said:
Yeah, seems so. It's no hassle to change them manually, as I've done for most of the hero stuff i can find, but it gives you a RegEx challenge
There should not AFAIK be a pipe at the end of the URL in phpWiki, so I have no idea how that got there
Cheers
Click to expand...
Click to collapse
I know what it's meant to look like, it's the Greedy Regex Expressions that are changing it for me.
I've changed the whole URL stuff and am just trying to cobble a new feature in before bed.
Dave
Changes to the Syntax Converter:
- Improved URL / WikiLink Parsing. Fixed bugs reported by anon2122 and Captainkrtek.
Stuff Todo:
Code:
//TOOD: URLs with Spaces!
//TODO: Remove Braces from URLs for Images.
//TODO: Add File: prefix for WikiLinks for Images.
New Version is : phpWikiConverter (1.0.3853.42492).zip
DaveShaw said:
Changes to the Syntax Converter:
- Improved URL / WikiLink Parsing. Fixed bugs reported by anon2122 and Captainkrtek.
Stuff Todo:
Code:
//TOOD: URLs with Spaces!
//TODO: Remove Braces from URLs for Images.
//TODO: Add File: prefix for WikiLinks for Images.
New Version is : phpWikiConverter (1.0.3853.42492).zip
Click to expand...
Click to collapse
Thanks! this tool has been great, glad to have the links fixed, time to re-convert a bunch of pages
Thanks DaveShaw!
Devices list
Hey Everyone,
You've probably found this already but its very useful for filling the devices template
http://en.wikipedia.org/wiki/List_of_HTC_phones
Cheers!,
Captainkrtek
Hey all, I am new here, but not to wiki.
I have a question about approriate content on the new wiki. An example would be Gene_Registry on the old wiki, sorry I am new and cannot post links.
Is this something that should be in the new wiki? If so I would think it should go on the Gene wiki page.
click23 said:
Hey all, I am new here, but not to wiki.
I have a question about approriate content on the new wiki. An example would be Gene_Registry on the old wiki, sorry I am new and cannot post links.
Is this something that should be in the new wiki? If so I would think it should go on the Gene wiki page.
Click to expand...
Click to collapse
I'm liking subpages at the moment. But I'm not sure if it's the best way forward.
i.e. http://forum.xda-developers.com/wiki/index.php?title=HTC_Gene/Registry
But if you want to keep the old page name to save time that's fine, the main aim is migrating content at the moment.
Dave

My First App, Need Serious Help :/

Hey guys, like the title says, I'm attempting to create an app, but with little success at this point.
What I want to do, didn't sound all that complicated in my head. I want to make an episode guide for a TV show I like. Nothing too fancy, but I do want it to look WP7-authentic.
First off, I don't know or really understanding coding in the slightest. I was hoping to be able to design most of the app through the on-screen WP7 display, which it seems I can do a lot on.
From what I've gathered, here's what I'd like to do:
Use the "Pivots" as the different story arcs or "seasons"
Within each pivot, Episode # and Title
But I'd also like to go one further and have each episode be clickable, which would take the user to a page containing info about the respective episode. Synopsis, International Titles, Airdate, etc.
It's a big project, I just need a little help getting it going.
Thanks!
dbG33K
what you're describing can be done one of two ways.
1. just display images after images
2. input text into the program
from what im gathering, it should be fairly easy for you to do as this is the sort of beginner stuff in most windows phone 7 programming books. id suggest you look into programming because even the slightest pivots and transitions require code.
now if you were on android or webos, thats different. they have full on graphics based programming thats a simple matter of drag and drop and choose function.
Download Expression Blend. You can do pretty much everything without having to write any code. It includes a "Pivot" template which has a pivot all ready for you, then you just add PivotItems using your mouse. Then you can use the Sample Data feature to mock up how your episode data will look.
The only thing you would have to write code for would be to pull the episode information from a datasource. Bind it to your controls and Expression will have the rest done for you.
http://www.microsoft.com/expression/windowsphone/
Sample Data:
http://expression.microsoft.com/en-us/ee426896.aspx
First thing you'll need before you even open Visual Studio or Blend is a data feed.
An rss feed is ideal, And I'm sure theres alot of them out there for TV listings. Without that, theres little you can do (other than screen scraping websites, but people don't look too kindly on that)
If you can find me a Url for the RSS feed you want to use, I'll be more than willing to help you out
xanderkaiber said:
First thing you'll need before you even open Visual Studio or Blend is a data feed.
An rss feed is ideal, And I'm sure theres alot of them out there for TV listings. Without that, theres little you can do (other than screen scraping websites, but people don't look too kindly on that)
If you can find me a Url for the RSS feed you want to use, I'll be more than willing to help you out
Click to expand...
Click to collapse
What he said
I'd be willing to help you out as well. I'm in the process of writing a feed reader to help me make the move WP7 from WPF/Silverlight. The idea I have for the UI is similar to yours and the feed reader (at least in the basic form) will be open source so I've no problem sharing my code...
I appreciate your willingness to help me out, but it's actually a series that has been over for quite a while.
Hey guys, I've gotten much further on my app and have become a little more well-acquainted with coding in the form of using Expression Blend 4. That said, I do have a few questions:
1. After making a few pages, I decided to make a sort of Welcome page for my app. How do I tell it to show that page first instead of "MainPage.xaml"?
2. On that welcome page, I would like to make a button that pulls up the user's E-mail and have it have my e-mail as the recipient.
Thanks a bunch!
This is in the WMAppManifest.xml file within the Properties folder.
for the email look into the email compose task
barryallott said:
This is in the WMAppManifest.xml file within the Properties folder.
for the email look into the email compose task
Click to expand...
Click to collapse
That doesn't really help me too much...
What am I supposed to do in the WMAppManifest.xml?
And where do I find the email compose task, and how do I implement it into the app?
EDIT: Nevermind, I figured out both of those questions. A new question, though: How do I take screen shots of the app? I need at least one to submit it to the marketplace, but I don't know how :/
dbG33K said:
That doesn't really help me too much...
What am I supposed to do in the WMAppManifest.xml?
And where do I find the email compose task, and how do I implement it into the app?
EDIT: Nevermind, I figured out both of those questions. A new question, though: How do I take screen shots of the app? I need at least one to submit it to the marketplace, but I don't know how :/
Click to expand...
Click to collapse
Download this:
http://www.innovativetechguy.com/?p=13
Make sure your emulator is set to 100% size and uncheck the "Show Device" checkbox in the tool. That will give you the necessary 480x800 sized .png
There's a fair lot you can do using the designer panel, but you will definitely need C# code for what happens 'behind the curtains'. Things like pulling the episodes from the internet and such.
I definitely recommend these tutorials:
Windows Phone 7 Development for Absolute Beginners.
It builds up slowly, but definitely gives you the foundation you need to put together basic applications.
Hey guys I found this thread and after reading it I feel I have a lot in common with dbG33K's tasks & questions. I feel I have a lot to offer WP7 apps as I learn more! I started out in January learning and studying as an absolute beginner (even did the 5 day course online). After a lot of studying, I felt confident enough to write my first BIG app.
I'm pretty good at the xaml part and getting real familiar with c# as I go along. Also, I think I have all the pieces I need, just need help putting it all together. I'm using an API for the data source (i have all the dlls and resources in place even all the c# methods for the API).
I have the UI all put together, now working on the c#. I'm just unsure on the binding part. I know my listboxes and other controls should be binded to a method in c#, but what calls that method? When the page loads that listbox, textblock, etc? Also, what kind of coding is generally used inside the {} of the methods that pulls info from the datasource?
As I have learned a lot aver the past couple of months, I find that I've learned it from examples I've found online, but I'm drawing a blank on this one. Any help would be great!
Thanks!
Do any of you can tellme how can I save text from the text box??
Sent from my LG-C900 using XDA Windows Phone 7 App

Any pdf app to edit?

Anyone know of anyway or app to edit a pdf file and add a signature to it? Best example, anyone had to get a fax from insurance company, sign it, then fax it?? I have tried a few on the market but can't.. then had an idea of getting the photoshop app and adding that signature but I guess it won't open pdf extensions or try to convert it jpeg or so, make that edit, then convert it back to pdf and send my file just wanted something on the go if I am not around a fax or comp.. thank you.
Sent from my HTC Vision using Tapatalk
Finding the correct app is not the problem, it's the format. Unfortunately most PDF's cannot be changed or edited unless you manage to find an editable pdf.
mejorguille said:
Finding the correct app is not the problem, it's the format. Unfortunately most PDF's cannot be changed or edited unless you manage to find an editable pdf.
Click to expand...
Click to collapse
What he is describing is adding an image as a layer on the pdf, which is actually fairly simple to do programatically. If he wanted to digitally sign the pdf or edit text it would be harder.
Really the only challenge I can see is the viewer for placing the image. Taking a png or jpg and putting it at a specified coordinate on an unlocked pdf is easy. All you would need is a subset of itext. (the digital signature stuff in itext would probably cause issues in android thus the subset.)
it would be a little kludgy but you might be able to do it using an annotation in repligo; then run a separate program to replace the annotation with the specified image.
All that said, I have not looked at pdf manipulation on android before. There might be something that already does it (repligo would be my bet if anything) or itext may use too much memory since it does create a map of the pdf in memory. You might need to subclass parts and make a pdfreader that only stores the appropriate xref tables.
I am on a non compete with my prior company right now and can't write anything involving pdf manipulation without violating it. If someone does want to write it though I would be happy to give pointers.
Thank you janetpanic repligo is what I was looking for.. to add freehand drawing for a signature. This is gonna be useful
Sent from my HTC Vision using Tapatalk

What is the best method of replacing a button with an image [VB.Net CF]

What the title says really. Seeing as .Net CF doesn't support the VB's BackgroundImage button property i'm looking for an alternative method. I've had a quick read of this page but it makes it seem really complicated to do and i was hoping that you guys would be able to suggest something a bit simpler.
Let me know if you have any ideas.
Hi M3PH,
Have a look at post #3 in this thread
http://forum.xda-developers.com/showthread.php?t=499621
It is from a couple of years ago, regarding a query of how to improve buttons, but not much has changed. The code is in C# but as it only dealing with events, there is very little difference from the equivalent VB code. Any problems let me know. As the post mentions, it is not perfect but it does not look too bad. Click on the button and it switches to its 'button depressed' image.
To try it out, extract the TestDevApp.exe from the zip file and run it in a WinMo 6.0 or later emulator image.
stephj.
One question, Does that method allow for the button to be effectively "skinned"? For example, if Swiss420 was to send me some images for several different buttons could i create a different image list for each button?
Sorry if that question seems stupid. got a teeny tiny hangover and the brain aint working right yet. Anyway thanks and let me know what you think.
Yes, it should work, but how you decide to implement it is up to you.
Either:
1.) Have a separate imagelist for each button, or
2.) Load all the images into one globally accessed imagelist and refer to that from wherever you need it. Just make sure the event for each 'button' uses the correct imagelist index. If you add or delete an image from the 'middle' of the list, you will have to refactor all the code that refers to images with an index greater than the one you have added/deleted.
Good luck!
Cool thanks. I think i'm gonna go for option one coz it seems like less of a pita.
Thanks for all the help

Change default photo names to something more meaningful

Hello,
Does anyone know if there is a way to change the standard name format Google gives images: IMG_20160101_121728.jpg to something else like N5X_01Jan16_12.45.11.jpg? I found one app that seems to do this after the fact here: https://play.google.com/store/apps/details?id=ro.ciubex.dscautorename
I was just wondering if there was another native way in-camera phone to do it? Or is there another app some recommend?
Lastly, does anyone know what the last set of digits represent in the name? I know the first represent the date.
Thanks,
Derek
dereksurfs said:
Lastly, does anyone know what the last set of digits represent in the name? I know the first represent the date.
Click to expand...
Click to collapse
The time, in 24-hour format.
I doubt there's any way to change the name format. You could whip up a shell command to change them.
the standard camera app does not have an option for that.
also, as crachel pointed out, the second set of digits is the time of recording in 24h format.
this way the values are all ordered from largest to smallest (Y/M/D_H:M:S) and therefor will always be in chronological order.
as you see the file names include already everything you want (apart from the N5X part), just in numerical form, and in an order that is at least for machines easier to work with.
if you still want another format i'd be curious of what you would expect from that.
Interesting, when I looked at the last set of numbers, they did not match the timestamp of the file system. So I thought they were just random unique numbers. But if I look at EXIF data on Google Photos, the time looks correct. So, at least they provide more meaningful information than I initially thought. I would still prefer a more reader friendly format like the one I posted above for my own archival purposes. IMG is too generic as I have many cameras along with their associated images. I could care less what Google or anyone thinks is machine friendly. I program for a living and know user experience trumps whatever someone assumes is easiest on a computer. Plus, a computer can read any format since its simply a date pattern. I just prefer another pattern.
I've looked into the last 6 numbers too. In my findings it's the second when the photo/video was taken/started recording. Same for exif. The filesystem contains the second when it was finished written to "disk".
Also sometimes you get _1, _2, ... after that if more photo was recorded in the same second.

Categories

Resources